chore: rm some direct header access (#13633)

This commit is contained in:
Matthias Seitz
2025-01-03 17:40:00 +01:00
committed by GitHub
parent 8f854cbbb6
commit 9923e5ac5b
9 changed files with 28 additions and 28 deletions

View File

@ -263,7 +263,7 @@ pub fn random_block_range<R: Rng>(
idx,
BlockParams {
parent: Some(
blocks.last().map(|block: &SealedBlock| block.header.hash()).unwrap_or(parent),
blocks.last().map(|block: &SealedBlock| block.hash()).unwrap_or(parent),
),
tx_count: Some(tx_count),
ommers_count: None,