chaindb: fix cache invalidation.

This commit is contained in:
Christopher Jeffrey 2017-07-31 18:03:30 -07:00
parent 1fa800e9fd
commit 6acf96457d
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

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