diff --git a/tests/test_apps.wallet.segwit.signtx.native_p2wpkh.py b/tests/test_apps.wallet.segwit.signtx.native_p2wpkh.py index a27d1c61b7..6530573d2d 100644 --- a/tests/test_apps.wallet.segwit.signtx.native_p2wpkh.py +++ b/tests/test_apps.wallet.segwit.signtx.native_p2wpkh.py @@ -73,7 +73,7 @@ class TestSignSegwitTxNativeP2WPKH(unittest.TestCase): signing.UiConfirmOutput(out2, coin), True, - signing.UiConfirmTotal(12300000 - 11000, 11000, coin), + signing.UiConfirmTotal(12300000, 11000, coin), True, # sign tx @@ -165,7 +165,7 @@ class TestSignSegwitTxNativeP2WPKH(unittest.TestCase): TxRequest(request_type=TXOUTPUT, details=TxRequestDetailsType(request_index=1, tx_hash=None), serialized=None), TxAck(tx=TransactionType(outputs=[out2])), - signing.UiConfirmTotal(5000000, 11000, coin), + signing.UiConfirmTotal(5000000 + 11000, 11000, coin), True, # sign tx diff --git a/tests/test_apps.wallet.segwit.signtx.native_p2wpkh_grs.py b/tests/test_apps.wallet.segwit.signtx.native_p2wpkh_grs.py index ee862960d2..907cd81507 100644 --- a/tests/test_apps.wallet.segwit.signtx.native_p2wpkh_grs.py +++ b/tests/test_apps.wallet.segwit.signtx.native_p2wpkh_grs.py @@ -73,7 +73,7 @@ class TestSignSegwitTxNativeP2WPKH_GRS(unittest.TestCase): signing.UiConfirmOutput(out2, coin), True, - signing.UiConfirmTotal(12300000 - 11000, 11000, coin), + signing.UiConfirmTotal(12300000, 11000, coin), True, # sign tx @@ -165,7 +165,7 @@ class TestSignSegwitTxNativeP2WPKH_GRS(unittest.TestCase): TxRequest(request_type=TXOUTPUT, details=TxRequestDetailsType(request_index=1, tx_hash=None), serialized=None), TxAck(tx=TransactionType(outputs=[out2])), - signing.UiConfirmTotal(5000000, 11000, coin), + signing.UiConfirmTotal(5000000 + 11000, 11000, coin), True, # sign tx diff --git a/tests/test_apps.wallet.segwit.signtx.p2wpkh_in_p2sh.py b/tests/test_apps.wallet.segwit.signtx.p2wpkh_in_p2sh.py index 2fbe3dc31f..208e72a042 100644 --- a/tests/test_apps.wallet.segwit.signtx.p2wpkh_in_p2sh.py +++ b/tests/test_apps.wallet.segwit.signtx.p2wpkh_in_p2sh.py @@ -73,7 +73,7 @@ class TestSignSegwitTxP2WPKHInP2SH(unittest.TestCase): signing.UiConfirmOutput(out2, coin), True, - signing.UiConfirmTotal(123445789, 11000, coin), + signing.UiConfirmTotal(123445789 + 11000, 11000, coin), True, # sign tx @@ -167,7 +167,7 @@ class TestSignSegwitTxP2WPKHInP2SH(unittest.TestCase): serialized=None), TxAck(tx=TransactionType(outputs=[out2])), - signing.UiConfirmTotal(12300000, 11000, coin), + signing.UiConfirmTotal(12300000 + 11000, 11000, coin), True, # sign tx diff --git a/tests/test_apps.wallet.segwit.signtx.p2wpkh_in_p2sh_grs.py b/tests/test_apps.wallet.segwit.signtx.p2wpkh_in_p2sh_grs.py index fb30454672..6e8431ac5c 100644 --- a/tests/test_apps.wallet.segwit.signtx.p2wpkh_in_p2sh_grs.py +++ b/tests/test_apps.wallet.segwit.signtx.p2wpkh_in_p2sh_grs.py @@ -73,7 +73,7 @@ class TestSignSegwitTxP2WPKHInP2SH_GRS(unittest.TestCase): signing.UiConfirmOutput(out2, coin), True, - signing.UiConfirmTotal(123445789, 11000, coin), + signing.UiConfirmTotal(123445789 + 11000, 11000, coin), True, # sign tx @@ -167,7 +167,7 @@ class TestSignSegwitTxP2WPKHInP2SH_GRS(unittest.TestCase): serialized=None), TxAck(tx=TransactionType(outputs=[out2])), - signing.UiConfirmTotal(12300000, 11000, coin), + signing.UiConfirmTotal(12300000 + 11000, 11000, coin), True, # sign tx diff --git a/tests/test_apps.wallet.signtx.fee_threshold.py b/tests/test_apps.wallet.signtx.fee_threshold.py index 0b32a4bd9c..805c1e12f0 100644 --- a/tests/test_apps.wallet.signtx.fee_threshold.py +++ b/tests/test_apps.wallet.signtx.fee_threshold.py @@ -73,7 +73,7 @@ class TestSignTxFeeThreshold(unittest.TestCase): True, signing.UiConfirmFeeOverThreshold(100000, coin_bitcoin), True, - signing.UiConfirmTotal(290000, 100000, coin_bitcoin), + signing.UiConfirmTotal(290000 + 100000, 100000, coin_bitcoin), True, TxRequest(request_type=TXINPUT, details=TxRequestDetailsType(request_index=0, tx_hash=None), serialized=None), ] @@ -135,7 +135,7 @@ class TestSignTxFeeThreshold(unittest.TestCase): TxAck(tx=TransactionType(outputs=[out1])), signing.UiConfirmOutput(out1, coin_bitcoin), True, - signing.UiConfirmTotal(300000, 90000, coin_bitcoin), + signing.UiConfirmTotal(300000 + 90000, 90000, coin_bitcoin), True, TxRequest(request_type=TXINPUT, details=TxRequestDetailsType(request_index=0, tx_hash=None), serialized=None), ] diff --git a/tests/test_apps.wallet.signtx.py b/tests/test_apps.wallet.signtx.py index 8e96c327b6..c51343d49a 100644 --- a/tests/test_apps.wallet.signtx.py +++ b/tests/test_apps.wallet.signtx.py @@ -72,7 +72,7 @@ class TestSignTx(unittest.TestCase): TxAck(tx=TransactionType(outputs=[out1])), signing.UiConfirmOutput(out1, coin_bitcoin), True, - signing.UiConfirmTotal(380000, 10000, coin_bitcoin), + signing.UiConfirmTotal(380000 + 10000, 10000, coin_bitcoin), True, # ButtonRequest(code=ButtonRequest_ConfirmOutput), # ButtonRequest(code=ButtonRequest_SignTx), diff --git a/tests/test_apps.wallet.signtx_grs.py b/tests/test_apps.wallet.signtx_grs.py index e22a6fe1d4..e74d900088 100644 --- a/tests/test_apps.wallet.signtx_grs.py +++ b/tests/test_apps.wallet.signtx_grs.py @@ -64,7 +64,7 @@ class TestSignTx_GRS(unittest.TestCase): TxAck(tx=TransactionType(outputs=[out1])), signing.UiConfirmOutput(out1, coin), True, - signing.UiConfirmTotal(210016 - 192, 192, coin), + signing.UiConfirmTotal(210016, 192, coin), True, # ButtonRequest(code=ButtonRequest_ConfirmOutput), # ButtonRequest(code=ButtonRequest_SignTx),