From 301d4f4232ce272cd3301d77086e73d18ba61b15 Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Fri, 20 Feb 2026 13:28:29 +0300 Subject: [PATCH] add debug statements --- handlers/application/send.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/handlers/application/send.go b/handlers/application/send.go index 1a322bc..b2273e1 100644 --- a/handlers/application/send.go +++ b/handlers/application/send.go @@ -414,6 +414,8 @@ func (h *MenuHandlers) MaxAmount(ctx context.Context, sym string, input []byte) return res, nil } + fmt.Println("got 2") + // Get the recipient's phone number to read other data items (*) recipientPhoneNumber, err := userStore.ReadEntry(ctx, sessionId, storedb.DATA_RECIPIENT_PHONE_NUMBER) if err != nil { @@ -423,10 +425,14 @@ func (h *MenuHandlers) MaxAmount(ctx context.Context, sym string, input []byte) return res, nil } + fmt.Println("got 3") + recipientActiveSym, recipientActiveAddress, recipientActiveDecimal, err := h.getRecipientData(ctx, string(recipientPhoneNumber)) if err != nil { return res, err } + fmt.Println("got 4") + // retrieve the max credit send amounts maxSAT, maxRAT, err := h.calculateSendCreditLimits(ctx, activePoolAddress, activeAddress, recipientActiveAddress, publicKey, activeDecimal, recipientActiveDecimal)