1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-22 20:42:03 +00:00

src/apps/wallet/sign_tx: fix style in last commit

This commit is contained in:
Pavol Rusnak 2018-10-15 21:03:06 +02:00
parent 74d50a2b4e
commit c8a053ac64
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -75,7 +75,10 @@ async def check_tx_fee(tx: SignTx, root: bip32.HDNode):
elif tx.version == 4: elif tx.version == 4:
hash143 = Zip243() # ZIP-0243 transaction hashing hash143 = Zip243() # ZIP-0243 transaction hashing
else: else:
raise SigningError(FailureType.DataError, "Unsupported version for overwintered transaction") raise SigningError(
FailureType.DataError,
"Unsupported version for overwintered transaction",
)
else: else:
hash143 = Bip143() # BIP-0143 transaction hashing hash143 = Bip143() # BIP-0143 transaction hashing