return nil to CATCH the flag_api_call_error

This commit is contained in:
Alfred Kamanda 2025-11-13 17:09:30 +03:00
parent 8d29c364c3
commit 308dc93a91
Signed by: Alfred-mk
GPG Key ID: E60B2165A97F4D41

View File

@ -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