save the recipient to the user data

This commit is contained in:
2024-08-20 15:09:02 +03:00
parent 231967b120
commit 59ff44214d
8 changed files with 88 additions and 10 deletions

View File

@@ -0,0 +1,2 @@
Maximum amount: {{.max_amount}}
Enter amount:

View File

@@ -0,0 +1,6 @@
LOAD max_amount 0
MAP max_amount
MOUT back 0
HALT
INCMP ^ 0
INCMP quit *

View File

View File

@@ -1 +1 @@
{{.send_transaction}} is not registered or invalid, please try again:
{{.validate_recipient}} is not registered or invalid, please try again:

View File

@@ -1,4 +1,4 @@
MAP send_transaction
MAP validate_recipient
LOAD transaction_reset 0
MOUT retry 1
MOUT quit 9

View File

@@ -1 +1 @@
{{.send_transaction}} haijasajiliwa au sio sahihi, tafadhali weka tena:
{{.validate_recipient}} haijasajiliwa au sio sahihi, tafadhali weka tena:

View File

@@ -2,6 +2,6 @@ LOAD transaction_reset 0
MOUT back 0
HALT
INCMP ^ 0
LOAD send_transaction 0
MAP send_transaction
MOVE invalid_recipient
LOAD validate_recipient 0
MAP validate_recipient
MOVE amount