mempool: fix coinindex.
This commit is contained in:
parent
fdc9bca468
commit
5b62a87a21
@ -2269,7 +2269,7 @@ CoinIndex.prototype.remove = function remove(hash, index) {
|
||||
|
||||
assert(items);
|
||||
assert(items.has(key));
|
||||
items.remove(key);
|
||||
items.delete(key);
|
||||
|
||||
if (items.size === 0)
|
||||
this.index.delete(addr);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user