mempool: fix coinindex.

This commit is contained in:
Christopher Jeffrey 2017-07-03 15:22:16 -07:00
parent fdc9bca468
commit 5b62a87a21
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

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