fix: temporarily disable block hash check as it is bugged
This commit is contained in:
parent
157811b234
commit
91144cb5a2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue