Skip to content

Commit

Permalink
Update examples/transactions/examples/send_eip1559_tx.rs
Browse files Browse the repository at this point in the history
Co-authored-by: DaniPopes <[email protected]>
  • Loading branch information
zerosnacks and DaniPopes authored May 6, 2024
1 parent 61f29df commit fd933ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/transactions/examples/send_eip1559_tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ async fn main() -> Result<()> {
let receipt = pending_tx.get_receipt().await?;

println!(
"Transaction included in block: {:?}",
receipt.block_number.expect("Failed to get block number").to_string()
"Transaction included in block {}",
receipt.block_number.expect("Failed to get block number")
);

assert_eq!(receipt.from, alice);
Expand Down

0 comments on commit fd933ea

Please sign in to comment.