use the check_balance for the max_amount

This commit is contained in:
2024-10-12 20:06:00 +03:00
parent 7fe8f0b7d5
commit f5dbfe553d
4 changed files with 4 additions and 5 deletions

View File

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

View File

@@ -1,6 +1,6 @@
LOAD reset_transaction_amount 0
LOAD max_amount 10
MAP max_amount
LOAD check_balance 48
MAP check_balance
MOUT back 0
HALT
LOAD validate_amount 64

View File

@@ -1,2 +1,2 @@
Kiwango cha juu: {{.max_amount}}
Kiwango cha juu: {{.check_balance}}
Weka kiwango: