1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-30 01:01:00 +00:00

ripple: validate fix

This commit is contained in:
Tomas Susanka 2018-09-05 10:31:09 +02:00
parent a3f8ace253
commit 19bbe707f7

View File

@ -69,6 +69,7 @@ def validate(msg: RippleSignTx):
msg.fee, msg.fee,
msg.sequence, msg.sequence,
msg.payment, msg.payment,
) or msg.payment and None in (
msg.payment.amount, msg.payment.amount,
msg.payment.destination, msg.payment.destination,
): ):