Compare commits
No commits in common. "20cfb47940bbcffc0efd46ce09ded393e43a83e1" and "ee41f733473111877fc5c67864caa98c7ae41b54" have entirely different histories.
20cfb47940
...
ee41f73347
@ -342,8 +342,6 @@ func (h *MenuHandlers) MaxAmount(ctx context.Context, sym string, input []byte)
|
|||||||
fmt.Println("returning for a normal transaction")
|
fmt.Println("returning for a normal transaction")
|
||||||
|
|
||||||
res.Content = l.Get("Maximum amount: %s %s\nEnter amount:", formattedBalance, string(activeSym))
|
res.Content = l.Get("Maximum amount: %s %s\nEnter amount:", formattedBalance, string(activeSym))
|
||||||
|
|
||||||
fmt.Println("the final Content:", res.Content)
|
|
||||||
return res, nil
|
return res, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
LOAD reset_transaction_amount 10
|
LOAD reset_transaction_amount 10
|
||||||
RELOAD reset_transaction_amount
|
LOAD max_amount 160
|
||||||
LOAD max_amount 0
|
|
||||||
RELOAD max_amount
|
RELOAD max_amount
|
||||||
MAP max_amount
|
MAP max_amount
|
||||||
MOUT back 0
|
MOUT back 0
|
||||||
@ -10,7 +9,7 @@ RELOAD validate_amount
|
|||||||
CATCH api_failure flag_api_call_error 1
|
CATCH api_failure flag_api_call_error 1
|
||||||
CATCH invalid_amount flag_invalid_amount 1
|
CATCH invalid_amount flag_invalid_amount 1
|
||||||
INCMP _ 0
|
INCMP _ 0
|
||||||
LOAD get_recipient 100
|
LOAD get_recipient 0
|
||||||
LOAD get_sender 64
|
LOAD get_sender 64
|
||||||
LOAD get_amount 32
|
LOAD get_amount 32
|
||||||
INCMP transaction_pin *
|
INCMP transaction_pin *
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user