fix double pin entry to initiate a transaction

This commit is contained in:
Carlosokumu 2024-09-12 15:49:11 +03:00
parent 0c3ef357df
commit 525eee93d4
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -1,3 +1,4 @@
LOAD authorize_account 6
MAP validate_amount
RELOAD get_recipient
MAP get_recipient
@ -6,9 +7,9 @@ MAP get_sender
MOUT back 0
MOUT quit 9
HALT
LOAD authorize_account 6
RELOAD authorize_account
CATCH incorrect_pin flag_incorrect_pin 1
CATCH transaction_initiated flag_account_authorized 1
INCMP _ 0
INCMP quit 9
INCMP transaction_initiated *