Skip to content

Commit

Permalink
Fix truncated formatting of address.
Browse files Browse the repository at this point in the history
  • Loading branch information
FiveMovesAhead committed Apr 24, 2024
1 parent d833f3c commit 5270068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tig-utils/src/eth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ mod web3_feature {
.await?
.ok_or_else(|| anyhow!("Transaction {} not found", tx_hash))?;
Ok(super::Transaction {
sender: tx.from.unwrap().to_string(),
receiver: receipt.to.unwrap().to_string(),
sender: format!("{:?}", tx.from.unwrap()),
receiver: format!("{:?}", receipt.to.unwrap()),
amount: PreciseNumber::from_dec_str(&tx.value.to_string())?,
})
}
Expand Down

0 comments on commit 5270068

Please sign in to comment.