From 6f314735c33b0ff2ecf56e302613733da7d2b2f2 Mon Sep 17 00:00:00 2001 From: greg <82421016+greged93@users.noreply.github.com> Date: Tue, 24 Dec 2024 14:29:58 +0100 Subject: [PATCH] Update crates/consensus/debug-client/src/providers/etherscan.rs Co-authored-by: Matthias Seitz --- 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 95d10bc72ba0..cbd461046d5c 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(x) => format!("{x:x}"), + BlockNumberOrTag::Number(num) => format!("{num}"), tag => tag.to_string(), }; let block: EtherscanBlockResponse = self