chaindb: fix cache invalidation.
This commit is contained in:
parent
1fa800e9fd
commit
6acf96457d
@ -660,8 +660,8 @@ ChainDB.prototype.verifyDeployments = async function verifyDeployments() {
|
|||||||
if (e.type !== 'EncodingError')
|
if (e.type !== 'EncodingError')
|
||||||
throw e;
|
throw e;
|
||||||
invalid = [];
|
invalid = [];
|
||||||
for (const {bit} of this.network.deploys)
|
for (let i = 0; i < 32; i++)
|
||||||
invalid.push(bit);
|
invalid.push(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (invalid.length === 0)
|
if (invalid.length === 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user