From f78885af5a55f353d83302c14961017d00ab8263 Mon Sep 17 00:00:00 2001 From: Tibor Arpas Date: Wed, 24 Oct 2018 14:13:52 +0200 Subject: [PATCH] Closes #326 : tx_api.get_tx incompatible with current blockbook (#327) This makes ./trezorctl fetching of previous transactions compatible with current blockbook. re #326 --- trezorlib/tx_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trezorlib/tx_api.py b/trezorlib/tx_api.py index 6e6020540..e126fd84b 100644 --- a/trezorlib/tx_api.py +++ b/trezorlib/tx_api.py @@ -92,7 +92,7 @@ class TxApiInsight(TxApi): t = proto.TransactionType() t.version = data["version"] - t.lock_time = data["locktime"] + t.lock_time = data.get("locktime") if self.decred: t.expiry = data["expiry"]