add a node for the credit-send amount

This commit is contained in:
Alfred Kamanda 2025-10-30 11:11:12 +03:00
parent 37f4b60679
commit 4092437d21
Signed by: Alfred-mk
GPG Key ID: E60B2165A97F4D41
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1 @@
{{.credit_max_amount}}

View 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 *

View File

@ -0,0 +1 @@
{{.credit_max_amount}}