From d3c73f03fd64f9e8ad7825bcf07c05f113cb26bf Mon Sep 17 00:00:00 2001 From: Tal Derei Date: Wed, 29 Jan 2025 13:17:42 -0800 Subject: [PATCH] use display impl --- crates/bin/pcli/src/command/view/balance.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/bin/pcli/src/command/view/balance.rs b/crates/bin/pcli/src/command/view/balance.rs index 62188790ba..020b22b19f 100644 --- a/crates/bin/pcli/src/command/view/balance.rs +++ b/crates/bin/pcli/src/command/view/balance.rs @@ -119,8 +119,7 @@ fn format_source(source: &CommitmentSource) -> String { CommitmentSource::LiquidityTournamentReward { epoch, tx_hash } => { format!( "Liquidity tournament reward (Epoch {}, Tx {})", - epoch, - hex::encode(tx_hash) + epoch, tx_hash ) } }