diff --git a/handlers/application/poolswap.go b/handlers/application/poolswap.go index 2dd2f2c..7426cd9 100644 --- a/handlers/application/poolswap.go +++ b/handlers/application/poolswap.go @@ -204,7 +204,7 @@ func (h *MenuHandlers) SwapMaxLimit(ctx context.Context, sym string, input []byt if err != nil { res.FlagSet = append(res.FlagSet, flag_api_call_error) logg.ErrorCtxf(ctx, "failed on GetSwapFromTokenMaxLimit", "error", err) - return res, err + return res, nil } // Scale down the amount