add a catch for api failures

This commit is contained in:
2025-05-29 10:00:44 +03:00
parent 20954d287b
commit 71b4eff35e

View File

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