add log for the CheckTokenInPool
Some checks failed
release / docker (push) Has been cancelled

This commit is contained in:
Alfred Kamanda 2025-05-20 14:02:41 +03:00
parent 1d23a0cc4b
commit b428e2e22d
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703

View File

@ -2762,6 +2762,8 @@ func (h *MenuHandlers) LoadSwapToList(ctx context.Context, sym string, input []b
return res, err return res, err
} }
logg.InfoCtxf(ctx, "CheckTokenInPool", "response", r, "active_pool_address", activePoolAddress, "address", activeAddress)
if !r.CanSwapFrom { if !r.CanSwapFrom {
res.FlagSet = append(res.FlagSet, flag_incorrect_voucher) res.FlagSet = append(res.FlagSet, flag_incorrect_voucher)
res.Content = l.Get( res.Content = l.Get(