Skip to content

Commit

Permalink
Update crates/consensus/debug-client/src/providers/etherscan.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
greged93 authored Dec 24, 2024
1 parent 6f31473 commit 36402bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/consensus/debug-client/src/providers/etherscan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ impl EtherscanBlockProvider {
/// are supported.
pub async fn load_block(&self, block_number_or_tag: BlockNumberOrTag) -> eyre::Result<Block> {
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
Expand Down

0 comments on commit 36402bf

Please sign in to comment.