mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-22 04:22:07 +00:00
src/apps/wallet/sign_tx: fix style in last commit
This commit is contained in:
parent
74d50a2b4e
commit
c8a053ac64
@ -75,7 +75,10 @@ async def check_tx_fee(tx: SignTx, root: bip32.HDNode):
|
||||
elif tx.version == 4:
|
||||
hash143 = Zip243() # ZIP-0243 transaction hashing
|
||||
else:
|
||||
raise SigningError(FailureType.DataError, "Unsupported version for overwintered transaction")
|
||||
raise SigningError(
|
||||
FailureType.DataError,
|
||||
"Unsupported version for overwintered transaction",
|
||||
)
|
||||
else:
|
||||
hash143 = Bip143() # BIP-0143 transaction hashing
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user