diff --git a/lib/wallet/walletdb.js b/lib/wallet/walletdb.js index 6df001dc..678817c4 100644 --- a/lib/wallet/walletdb.js +++ b/lib/wallet/walletdb.js @@ -366,7 +366,7 @@ WalletDB.prototype._rescan = co(function* rescan(height) { * @returns {Promise} */ -WalletDB.prototype.scan = co(function* sync(height, hashes) { +WalletDB.prototype.scan = co(function* scan(height, hashes) { var self = this; var blocks;