chore(rpc): use block_hash instead on fetching debug_trace_block block (#11587)

This commit is contained in:
joshieDo
2024-10-09 03:26:44 +09:00
committed by GitHub
parent 95913cb9b5
commit f7c76291a1

View File

@@ -209,7 +209,7 @@ where
let ((cfg, block_env, _), block) = futures::try_join!(
self.eth_api().evm_env_at(block_hash.into()),
self.eth_api().block_with_senders(block_id),
self.eth_api().block_with_senders(block_hash.into()),
)?;
let block = block.ok_or(EthApiError::HeaderNotFound(block_id))?;