From 4dfccb3ff2fc176d1ccb0e4d84be48fa079b532e Mon Sep 17 00:00:00 2001 From: Alfred Kamanda Date: Fri, 30 Jan 2026 10:22:36 +0300 Subject: [PATCH] log the correct fields --- handlers/application/poolswap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/application/poolswap.go b/handlers/application/poolswap.go index 7426cd9..1c6f923 100644 --- a/handlers/application/poolswap.go +++ b/handlers/application/poolswap.go @@ -303,7 +303,7 @@ func (h *MenuHandlers) SwapPreview(ctx context.Context, sym string, input []byte // store the user's input amount in the temporary value err = userStore.WriteEntry(ctx, sessionId, storedb.DATA_TEMPORARY_VALUE, []byte(inputStr)) if err != nil { - logg.ErrorCtxf(ctx, "failed to write swap amount entry with", "key", storedb.DATA_ACTIVE_SWAP_AMOUNT, "value", finalAmountStr, "error", err) + logg.ErrorCtxf(ctx, "failed to write inputStr amount entry with", "key", storedb.DATA_TEMPORARY_VALUE, "value", inputStr, "error", err) return res, err }