diff --git a/lib/wallet/walletdb.js b/lib/wallet/walletdb.js index ff39e971..27c522a3 100644 --- a/lib/wallet/walletdb.js +++ b/lib/wallet/walletdb.js @@ -914,7 +914,7 @@ WalletDB.prototype.getWalletsByHash = co(function* getWalletsByHash(hash) { wids = parseWallets(data); - this.pathMapCache.get(hash, wids); + this.pathMapCache.set(hash, wids); return wids; });