mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm some direct header access (#13633)
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user