1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00
This commit is contained in:
Tomas Susanka 2019-02-20 14:38:36 +01:00
parent 2b048ce25c
commit 6124c21915

View File

@ -66,11 +66,7 @@ async def require_confirm_transaction(ctx, tsx_data, network_type):
cur_payment = None cur_payment = None
await _require_confirm_output(ctx, dst, network_type, cur_payment) await _require_confirm_output(ctx, dst, network_type, cur_payment)
if ( if has_payment and not has_integrated and tsx_data.payment_id != DUMMY_PAYMENT_ID:
has_payment
and not has_integrated
and tsx_data.payment_id != DUMMY_PAYMENT_ID
):
await _require_confirm_payment_id(ctx, tsx_data.payment_id) await _require_confirm_payment_id(ctx, tsx_data.payment_id)
await _require_confirm_fee(ctx, tsx_data.fee) await _require_confirm_fee(ctx, tsx_data.fee)