1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00

signtx: remove forgotten import

This commit is contained in:
Jan Pochyla 2016-11-09 11:12:44 +01:00
parent b0fa0466dc
commit d7bc138262

View File

@ -161,8 +161,6 @@ async def sign_tx(tx: SignTx, root):
write_uint32(h_sign, 0x0000001) # hash_type
import ubinascii
# check the control digests
if tx_hash_digest(h_first, False) != tx_hash_digest(h_second, False):
raise ValueError('Transaction has changed during signing')