Skip to content

Commit

Permalink
fix: block number hex bug
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Nov 27, 2023
1 parent 1304129 commit ab35517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/clients/chainbound/src/echo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ where
// Set block number to the next block if not specified
if action.standard_features.block_number.is_none() {
let block_number = self.inner.get_block_number().await?;
let next_block_number_hex = format!("0x{:#x}", block_number.as_u64() + 1);
let next_block_number_hex = format!("{:#x}", block_number.as_u64() + 1);
action.standard_features.block_number = Some(next_block_number_hex);
}

Expand Down

0 comments on commit ab35517

Please sign in to comment.