walletdb: fix destroying.
This commit is contained in:
parent
a41d27e828
commit
2c066ddce1
@ -232,7 +232,6 @@ WalletDB.prototype._close = co(function* close() {
|
||||
key = keys[i];
|
||||
wallet = this.wallets[key];
|
||||
yield wallet.destroy();
|
||||
delete this.wallets[key];
|
||||
}
|
||||
|
||||
yield this.db.close();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user