From c400b07babf8ceb0828e85c0aa0a1bd5f21e028f Mon Sep 17 00:00:00 2001 From: undeath Date: Mon, 7 Jan 2019 14:46:40 +0100 Subject: [PATCH] fix crash in wallet-tools display/displayall/history Without this fix wallet-tools display/displayall/history methods will crash when the wallet contains an unconfirmed transaction. --- jmclient/jmclient/wallet_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jmclient/jmclient/wallet_utils.py b/jmclient/jmclient/wallet_utils.py index a070211..b232f04 100644 --- a/jmclient/jmclient/wallet_utils.py +++ b/jmclient/jmclient/wallet_utils.py @@ -323,7 +323,7 @@ def get_tx_info(txid): cj_amount = value_freq_list[0][0] cj_n = value_freq_list[0][1] return is_coinjoin, cj_amount, cj_n, output_script_values,\ - rpctx['blocktime'], txd + rpctx.get('blocktime', 0), txd def get_imported_privkey_branch(wallet, m, showprivkey):