mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-20 21:38:26 +00:00
signtx: remove forgotten import
This commit is contained in:
parent
b0fa0466dc
commit
d7bc138262
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user