log the response from GetPoolSwappableVouchers
Some checks failed
release / docker (push) Has been cancelled

This commit is contained in:
Alfred Kamanda 2025-06-19 14:54:43 +03:00
parent b85c5a8788
commit 150dc99201
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703

View File

@ -2887,6 +2887,8 @@ func (h *MenuHandlers) LoadSwapToList(ctx context.Context, sym string, input []b
return res, err return res, err
} }
logg.InfoCtxf(ctx, "GetPoolSwappableVouchers", "swapToList", swapToList)
// Return if there are no vouchers // Return if there are no vouchers
if len(swapToList) == 0 { if len(swapToList) == 0 {
return res, nil return res, nil
@ -2894,6 +2896,8 @@ func (h *MenuHandlers) LoadSwapToList(ctx context.Context, sym string, input []b
data := store.ProcessTokens(swapToList) data := store.ProcessTokens(swapToList)
logg.InfoCtxf(ctx, "ProcessTokens", "data", data)
// Store all swap_to tokens data // Store all swap_to tokens data
dataMap := map[storedb.DataTyp]string{ dataMap := map[storedb.DataTyp]string{
storedb.DATA_POOL_TO_SYMBOLS: data.Symbols, storedb.DATA_POOL_TO_SYMBOLS: data.Symbols,