Initiate a transaction once a valid PIN is provided

This commit is contained in:
2024-08-28 14:11:20 +03:00
parent 6e0ea07cde
commit 7b33f2f644
6 changed files with 47 additions and 1 deletions

View File

@@ -0,0 +1 @@
Your request has been sent. {{.get_recipient}} will receive {{.get_amount}} from {{.get_sender}}.

View File

@@ -0,0 +1,12 @@
LOAD reset_incorrect 0
LOAD get_amount 10
MAP get_amount
RELOAD get_recipient
MAP get_recipient
RELOAD get_sender
MAP get_sender
LOAD initiate_transaction 0
RELOAD transaction_reset
MOUT quit 9
HALT
INCMP quit 9

View File

@@ -0,0 +1 @@
Ombi lako limetumwa. {{.get_recipient}} atapokea {{.get_amount}} kutoka kwa {{.get_sender}}.

View File

@@ -6,5 +6,9 @@ MAP get_sender
MOUT back 0
MOUT quit 9
HALT
LOAD unlock_account 1
RELOAD unlock_account
CATCH incorrect_pin 15 1
INCMP _ 0
INCMP quit 9
MOVE transaction_initiated