change the order of vis statements for error handling

This commit is contained in:
Alfred Kamanda 2026-02-07 17:30:32 +03:00
parent 35692d2bfd
commit dc2f9fce44
Signed by: Alfred-mk
GPG Key ID: E60B2165A97F4D41
2 changed files with 8 additions and 3 deletions

View File

@ -11,4 +11,7 @@ INCMP > 88
INCMP < 98
INCMP _ 0
INCMP quit 99
LOAD pool_deposit_max_amount 120
RELOAD pool_deposit_max_amount
CATCH . flag_incorrect_voucher 1
INCMP pool_deposit_amount *

View File

@ -1,8 +1,10 @@
LOAD pool_deposit_max_amount 0
RELOAD pool_deposit_max_amount
CATCH _ flag_incorrect_voucher 1
LOAD reset_transaction_amount 10
RELOAD reset_transaction_amount
MAP pool_deposit_max_amount
MOUT back 0
HALT
LOAD confirm_pool_deposit 140
RELOAD confirm_pool_deposit
CATCH invalid_pool_deposit_amount flag_invalid_amount 1
INCMP _ 0
INCMP pool_deposit_confirmation *