mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 17:38:39 +00:00
singing: bip143 comment
This commit is contained in:
parent
6a73a7922b
commit
26a89a8e5f
@ -71,7 +71,7 @@ async def check_tx_fee(tx: SignTx, root):
|
||||
wallet_path = input_extract_wallet_path(txi, wallet_path)
|
||||
write_tx_input_check(h_first, txi)
|
||||
weight.add_input(txi)
|
||||
bip143.add_prevouts(txi)
|
||||
bip143.add_prevouts(txi) # all inputs are included (non-segwit as well)
|
||||
bip143.add_sequence(txi)
|
||||
is_segwit = (txi.script_type == InputScriptType.SPENDWITNESS or
|
||||
txi.script_type == InputScriptType.SPENDP2SHWITNESS)
|
||||
|
Loading…
Reference in New Issue
Block a user