From 26a89a8e5f90c6a82c1d5b00595896eb1aaa4370 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Thu, 8 Feb 2018 11:27:44 +0100 Subject: [PATCH] singing: bip143 comment --- src/apps/wallet/sign_tx/signing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/wallet/sign_tx/signing.py b/src/apps/wallet/sign_tx/signing.py index cba238b5ec..f48e4e7958 100644 --- a/src/apps/wallet/sign_tx/signing.py +++ b/src/apps/wallet/sign_tx/signing.py @@ -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)