From 6b5212e7ec4ee9e4c48fd807dae5d6c3d0d522d2 Mon Sep 17 00:00:00 2001 From: Gary Yu Date: Tue, 22 Jan 2019 21:30:50 +0800 Subject: [PATCH] wallet: avoid display the long file name on txs (#2445) --- wallet/src/display.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/src/display.rs b/wallet/src/display.rs index 9f81770eb..c4a35e0fd 100644 --- a/wallet/src/display.rs +++ b/wallet/src/display.rs @@ -184,7 +184,7 @@ pub fn txs( ) }; let tx_data = match t.stored_tx { - Some(t) => format!("{}", t), + Some(_) => "Yes".to_owned(), None => "None".to_owned(), }; if dark_background_color_scheme {