From 525eee93d44e93c78bcb3c117582eb2bb800ac6c Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Thu, 12 Sep 2024 15:49:11 +0300 Subject: [PATCH] fix double pin entry to initiate a transaction --- services/registration/transaction_pin.vis | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/services/registration/transaction_pin.vis b/services/registration/transaction_pin.vis index cadbdcf..731f036 100644 --- a/services/registration/transaction_pin.vis +++ b/services/registration/transaction_pin.vis @@ -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 * +