1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +00:00

style: reformat client.py

This commit is contained in:
matejcik 2018-09-06 17:09:37 +02:00
parent 3f40a67c61
commit 305cb55d02

View File

@ -498,9 +498,7 @@ class ProtocolMixin(object):
if not self.tx_api: if not self.tx_api:
raise RuntimeError("TX_API not defined") raise RuntimeError("TX_API not defined")
prev_tx = self.tx_api.get_tx( prev_tx = self.tx_api.get_tx(binascii.hexlify(inp.prev_hash).decode())
binascii.hexlify(inp.prev_hash).decode()
)
txes[inp.prev_hash] = prev_tx txes[inp.prev_hash] = prev_tx
return txes return txes