From 36402bf67fbd05dfc34d792682178c5a6152d45e Mon Sep 17 00:00:00 2001 From: greg <82421016+greged93@users.noreply.github.com> Date: Tue, 24 Dec 2024 15:05:52 +0100 Subject: [PATCH] Update crates/consensus/debug-client/src/providers/etherscan.rs --- crates/consensus/debug-client/src/providers/etherscan.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/consensus/debug-client/src/providers/etherscan.rs b/crates/consensus/debug-client/src/providers/etherscan.rs index cbd461046d5c..3d2d19c22364 100644 --- a/crates/consensus/debug-client/src/providers/etherscan.rs +++ b/crates/consensus/debug-client/src/providers/etherscan.rs @@ -33,7 +33,7 @@ impl EtherscanBlockProvider { /// are supported. pub async fn load_block(&self, block_number_or_tag: BlockNumberOrTag) -> eyre::Result { let tag = match block_number_or_tag { - BlockNumberOrTag::Number(num) => format!("{num}"), + BlockNumberOrTag::Number(num) => format!("{num:x}"), tag => tag.to_string(), }; let block: EtherscanBlockResponse = self