added a debug log

This commit is contained in:
Alfred Kamanda 2025-11-14 10:41:34 +03:00
parent bafe3cc04e
commit ee41f73347
Signed by: Alfred-mk
GPG Key ID: E60B2165A97F4D41

View File

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