walletdb: fix path map cache.

This commit is contained in:
Christopher Jeffrey 2016-10-23 14:17:32 -07:00
parent 45816e4527
commit e02e766518
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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;
});