add a catch for api failures

This commit is contained in:
Alfred Kamanda 2025-05-29 10:00:44 +03:00
parent 20954d287b
commit 71b4eff35e
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703

View File

@ -7,6 +7,7 @@ MOUT back 0
HALT HALT
LOAD swap_max_limit 64 LOAD swap_max_limit 64
RELOAD swap_max_limit RELOAD swap_max_limit
CATCH api_failure flag_api_call_error 1
CATCH . flag_incorrect_voucher 1 CATCH . flag_incorrect_voucher 1
CATCH low_swap_amount flag_low_swap_amount 1 CATCH low_swap_amount flag_low_swap_amount 1
INCMP _ 0 INCMP _ 0