chore: use hash fn directly (#13379)

This commit is contained in:
Matthias Seitz
2024-12-13 13:28:48 +01:00
committed by GitHub
parent fb649977a1
commit f347977765
5 changed files with 17 additions and 21 deletions

View File

@ -94,7 +94,7 @@ pub trait EthCall: EstimateCall + Call + LoadPendingBlock + LoadBlock + FullEthA
let base_block =
self.block_with_senders(block).await?.ok_or(EthApiError::HeaderNotFound(block))?;
let mut parent_hash = base_block.header.hash();
let mut parent_hash = base_block.hash();
// Only enforce base fee if validation is enabled
cfg.disable_base_fee = !validation;