chain: fix _invalidate

This commit is contained in:
Node 2017-08-16 21:06:08 +04:00
parent f9eca70374
commit 15b22c03fa
No known key found for this signature in database
GPG Key ID: 8E1B4DC29040BD90

View File

@ -1177,7 +1177,7 @@ Chain.prototype.invalidate = async function invalidate(hash) {
Chain.prototype._invalidate = async function _invalidate(hash) {
await this._replay(hash, false);
this.chain.setInvalid(hash);
this.setInvalid(hash);
};
/**