From 2c066ddce1a6ee34040ac82bfd89708d179e448d Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 4 Oct 2016 05:39:35 -0700 Subject: [PATCH] walletdb: fix destroying. --- lib/wallet/walletdb.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/wallet/walletdb.js b/lib/wallet/walletdb.js index 0f0274f1..8aa2fcd5 100644 --- a/lib/wallet/walletdb.js +++ b/lib/wallet/walletdb.js @@ -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();