walletdb: minor.

This commit is contained in:
Christopher Jeffrey 2016-08-14 00:28:45 -07:00
parent 6e770279db
commit 9a1ba962fd
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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);