From e02e766518e5daf7be0cbade0baa0ba2b6f8a020 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 23 Oct 2016 14:17:32 -0700 Subject: [PATCH] walletdb: fix path map cache. --- lib/wallet/walletdb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; });