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:
parent
3f40a67c61
commit
305cb55d02
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user