chore: fix misleading name (#15920)

This commit is contained in:
Hai | RISE
2025-04-25 14:02:08 +07:00
committed by GitHub
parent c867812793
commit 7a4a30f49f

View File

@@ -539,7 +539,7 @@ where
// these are consecutive headers, so we can use the parent hash of the next
// block to get the current header's hash
let block_hash = match headers.get(idx + 1) {
Some(parent) => parent.parent_hash(),
Some(child) => child.parent_hash(),
None => self
.provider()
.block_hash(header.number())?