walletdb: minor.
This commit is contained in:
parent
6e770279db
commit
9a1ba962fd
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user