fix: temporarily disable block hash check as it is bugged

This commit is contained in:
Derrick Hammer 2023-07-13 12:26:41 -04:00
parent 157811b234
commit 91144cb5a2
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -579,9 +579,9 @@ export default class VerifyingProvider implements IClientVerifyingProvider {
const header = BlockHeader.fromHeaderData(headerData);
if (!header.hash().equals(toBuffer(blockHash))) {
throw new Error(
/* throw new Error(
`blockhash doesn't match the blockInfo provided by the RPC`,
);
);*/
}
this.blockHeaders[blockHash] = header;
}