walletdb: fix path map cache.
This commit is contained in:
parent
45816e4527
commit
e02e766518
@ -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;
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user