Compare commits

...

2 Commits

Author SHA1 Message Date
20cfb47940
updated the size outputs 2025-11-14 10:49:11 +03:00
03d6cbd429
added a debug for the returned content 2025-11-14 10:46:22 +03:00
2 changed files with 5 additions and 2 deletions

View File

@ -342,6 +342,8 @@ func (h *MenuHandlers) MaxAmount(ctx context.Context, sym string, input []byte)
fmt.Println("returning for a normal transaction")
res.Content = l.Get("Maximum amount: %s %s\nEnter amount:", formattedBalance, string(activeSym))
fmt.Println("the final Content:", res.Content)
return res, nil
}

View File

@ -1,5 +1,6 @@
LOAD reset_transaction_amount 10
LOAD max_amount 160
RELOAD reset_transaction_amount
LOAD max_amount 0
RELOAD max_amount
MAP max_amount
MOUT back 0
@ -9,7 +10,7 @@ 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_recipient 100
LOAD get_sender 64
LOAD get_amount 32
INCMP transaction_pin *