diff --git a/lib/bcoin/fullnode.js b/lib/bcoin/fullnode.js index c983c84f..02d06e1a 100644 --- a/lib/bcoin/fullnode.js +++ b/lib/bcoin/fullnode.js @@ -451,19 +451,6 @@ Fullnode.prototype.getWallet = function getWallet(id, callback) { return this.walletdb.get(id, callback); }; -/** - * Scan an HD wallet and allocate addresses according to history. - * @param {Wallet} wallet - * @param {Function} callback - */ - -Fullnode.prototype.scanWallet = function scanWallet(wallet, callback) { - if (!this.chain.db.options.indexTX || !this.chain.db.options.indexAddress) - return callback(new Error('Addresses not indexed.')); - - wallet.scan(this.getTXByAddress.bind(this), callback); -}; - /** * Retrieve a block from the chain database. * @param {Hash} hash