add a node for the credit-send amount
This commit is contained in:
parent
37f4b60679
commit
4092437d21
1
services/registration/credit_amount
Normal file
1
services/registration/credit_amount
Normal file
@ -0,0 +1 @@
|
|||||||
|
{{.credit_max_amount}}
|
||||||
18
services/registration/credit_amount.vis
Normal file
18
services/registration/credit_amount.vis
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
LOAD reset_transaction_amount 10
|
||||||
|
LOAD credit_max_amount 160
|
||||||
|
RELOAD credit_max_amount
|
||||||
|
MAP credit_max_amount
|
||||||
|
MOUT back 0
|
||||||
|
HALT
|
||||||
|
LOAD clear_trans_type_flag 6
|
||||||
|
RELOAD clear_trans_type_flag
|
||||||
|
CATCH transaction_swap flag_swap_transaction 1
|
||||||
|
LOAD validate_amount 64
|
||||||
|
RELOAD validate_amount
|
||||||
|
CATCH api_failure flag_api_call_error 1
|
||||||
|
CATCH invalid_amount flag_invalid_amount 1
|
||||||
|
INCMP _ 0
|
||||||
|
LOAD get_recipient 0
|
||||||
|
LOAD get_sender 64
|
||||||
|
LOAD get_amount 32
|
||||||
|
INCMP transaction_pin *
|
||||||
1
services/registration/credit_amount_swa
Normal file
1
services/registration/credit_amount_swa
Normal file
@ -0,0 +1 @@
|
|||||||
|
{{.credit_max_amount}}
|
||||||
Loading…
Reference in New Issue
Block a user