1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

Closes #326 : tx_api.get_tx incompatible with current blockbook (#327)

This makes ./trezorctl fetching of previous transactions compatible with current blockbook. re #326
This commit is contained in:
Tibor Arpas 2018-10-24 14:13:52 +02:00 committed by matejcik
parent 57f1dddc2f
commit f78885af5a

View File

@ -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"]