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')
|
||||
throw e;
|
||||
invalid = [];
|
||||
for (const {bit} of this.network.deploys)
|
||||
invalid.push(bit);
|
||||
for (let i = 0; i < 32; i++)
|
||||
invalid.push(i);
|
||||
}
|
||||
|
||||
if (invalid.length === 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user