|
|
|
@ -101,7 +101,7 @@ class TestSignSegwitTxP2WPKHInP2SH(unittest.TestCase):
|
|
|
|
|
helpers.UiConfirmOutput(out2, coin, AmountUnit.BITCOIN),
|
|
|
|
|
True,
|
|
|
|
|
|
|
|
|
|
helpers.UiConfirmTotal(123445789 + 11000, 11000, fee_rate, coin, AmountUnit.BITCOIN),
|
|
|
|
|
helpers.UiConfirmTotal(123445789 + 11000, 11000, fee_rate, coin, AmountUnit.BITCOIN, inp1.address_n[:3]),
|
|
|
|
|
True,
|
|
|
|
|
|
|
|
|
|
# check prev tx
|
|
|
|
@ -229,7 +229,7 @@ class TestSignSegwitTxP2WPKHInP2SH(unittest.TestCase):
|
|
|
|
|
TxRequest(request_type=TXOUTPUT, details=TxRequestDetailsType(request_index=1, tx_hash=None), serialized=EMPTY_SERIALIZED),
|
|
|
|
|
TxAckOutput(tx=TxAckOutputWrapper(output=out2)),
|
|
|
|
|
|
|
|
|
|
helpers.UiConfirmTotal(12300000 + 11000, 11000, fee_rate, coin, AmountUnit.BITCOIN),
|
|
|
|
|
helpers.UiConfirmTotal(12300000 + 11000, 11000, fee_rate, coin, AmountUnit.BITCOIN, inp1.address_n[:3]),
|
|
|
|
|
True,
|
|
|
|
|
|
|
|
|
|
# check prev tx
|
|
|
|
@ -377,7 +377,7 @@ class TestSignSegwitTxP2WPKHInP2SH(unittest.TestCase):
|
|
|
|
|
TxRequest(request_type=TXOUTPUT, details=TxRequestDetailsType(request_index=1, tx_hash=None), serialized=EMPTY_SERIALIZED),
|
|
|
|
|
TxAckOutput(tx=TxAckOutputWrapper(output=out2)),
|
|
|
|
|
|
|
|
|
|
helpers.UiConfirmTotal(9 - 1, 9 - 8 - 1, fee_rate, coin, AmountUnit.BITCOIN),
|
|
|
|
|
helpers.UiConfirmTotal(9 - 1, 9 - 8 - 1, fee_rate, coin, AmountUnit.BITCOIN, inp1.address_n[:3]),
|
|
|
|
|
True,
|
|
|
|
|
|
|
|
|
|
# check prev tx
|
|
|
|
|