diff --git a/lib/bcoin/walletdb.js b/lib/bcoin/walletdb.js index 9ec1e6b6..486b5d53 100644 --- a/lib/bcoin/walletdb.js +++ b/lib/bcoin/walletdb.js @@ -270,10 +270,7 @@ WalletDB.prototype.dump = function dump(callback) { gte: 'w', lte: 'w~', keys: true, - values: true, - fillCache: false, - keyAsBuffer: false, - valueAsBuffer: true + values: true }, function(key, value, next) { records[key] = value; next(); @@ -993,7 +990,7 @@ WalletDB.prototype.fetchWallet = function fetchWallet(id, callback, handler) { handler(wallet, function(err, res1, res2) { // Kill the reference. - wallet.destroy(); + // wallet.destroy(); if (err) return callback(err);