add a catch for api failures
This commit is contained in:
parent
20954d287b
commit
71b4eff35e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user