@@ -220,7 +220,7 @@ proc procBlkEpilogue(
220220 # TODO replace logging with better error
221221 debug " wrong state root in block" ,
222222 blockNumber = header.number,
223- blockHash = header.blockHash ,
223+ blockHash = header.computeBlockHash ,
224224 parentHash = header.parentHash,
225225 expected = header.stateRoot,
226226 actual = stateRoot,
@@ -242,7 +242,7 @@ proc procBlkEpilogue(
242242 debug " wrong receiptRoot in block" ,
243243 blockNumber = header.number,
244244 parentHash = header.parentHash.short,
245- blockHash = header.blockHash .short,
245+ blockHash = header.computeBlockHash .short,
246246 actual = receiptsRoot,
247247 expected = header.receiptsRoot
248248 return err (" receiptRoot mismatch" )
@@ -263,7 +263,7 @@ proc procBlkEpilogue(
263263 debug " wrong requestsHash in block" ,
264264 blockNumber = header.number,
265265 parentHash = header.parentHash.short,
266- blockHash = header.blockHash .short,
266+ blockHash = header.computeBlockHash .short,
267267 actual = requestsHash,
268268 expected = header.requestsHash.get
269269 return err (" requestsHash mismatch" )
0 commit comments