Some checks failed
release / docker (push) Has been cancelled
- Resolves a "key not found error" on the swap max limit node - Resolves double PIN requests when authorizing transactions #67 Reviewed-on: #78 Co-authored-by: alfred-mk <alfredmwaik@gmail.com> Co-committed-by: alfred-mk <alfredmwaik@gmail.com>
15 lines
355 B
Plaintext
15 lines
355 B
Plaintext
CATCH no_voucher flag_no_active_voucher 1
|
|
LOAD swap_to_list 0
|
|
RELOAD swap_to_list
|
|
MAP swap_to_list
|
|
CATCH missing_voucher flag_incorrect_voucher 1
|
|
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
|
|
INCMP swap_limit *
|