From 150dc99201966369c45dea303a574f2b5e4f365f Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Thu, 19 Jun 2025 14:54:43 +0300 Subject: [PATCH] log the response from GetPoolSwappableVouchers --- handlers/application/menuhandler.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/handlers/application/menuhandler.go b/handlers/application/menuhandler.go index 7da076f..f3dcdfc 100644 --- a/handlers/application/menuhandler.go +++ b/handlers/application/menuhandler.go @@ -2887,6 +2887,8 @@ func (h *MenuHandlers) LoadSwapToList(ctx context.Context, sym string, input []b return res, err } + logg.InfoCtxf(ctx, "GetPoolSwappableVouchers", "swapToList", swapToList) + // Return if there are no vouchers if len(swapToList) == 0 { return res, nil @@ -2894,6 +2896,8 @@ func (h *MenuHandlers) LoadSwapToList(ctx context.Context, sym string, input []b data := store.ProcessTokens(swapToList) + logg.InfoCtxf(ctx, "ProcessTokens", "data", data) + // Store all swap_to tokens data dataMap := map[storedb.DataTyp]string{ storedb.DATA_POOL_TO_SYMBOLS: data.Symbols,