From 91144cb5a2b5d05fd301b11501861aadd10a69b5 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 13 Jul 2023 12:26:41 -0400 Subject: [PATCH] fix: temporarily disable block hash check as it is bugged --- src/client/verifyingProvider.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/verifyingProvider.ts b/src/client/verifyingProvider.ts index f3449b8..8251499 100644 --- a/src/client/verifyingProvider.ts +++ b/src/client/verifyingProvider.ts @@ -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; }