From 527006881938249cce0cefa67821a38e2c8337aa Mon Sep 17 00:00:00 2001 From: FiveMovesAhead Date: Thu, 25 Apr 2024 04:06:15 +0800 Subject: [PATCH] Fix truncated formatting of address. --- tig-utils/src/eth.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tig-utils/src/eth.rs b/tig-utils/src/eth.rs index 868ba235..56320478 100644 --- a/tig-utils/src/eth.rs +++ b/tig-utils/src/eth.rs @@ -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())?, }) }