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
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
  • Loading branch information
greged93 and mattsse authored Dec 24, 2024
1 parent d4c40b5 commit 6f31473
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(x) => format!("{x:x}"),
BlockNumberOrTag::Number(num) => format!("{num}"),
tag => tag.to_string(),
};
let block: EtherscanBlockResponse = self
Expand Down

0 comments on commit 6f31473

Please sign in to comment.