diff --git a/services/wallet/router.go b/services/wallet/router.go index bfef41871..e8db60302 100644 --- a/services/wallet/router.go +++ b/services/wallet/router.go @@ -627,13 +627,15 @@ func (r *Router) suggestedRoutes( if err != nil { continue } - if maxAmountIn.ToInt().Cmp(amountIn) >= 0 { - if bonderFees.Cmp(amountIn) >= 0 { - continue - } - } else { - if bonderFees.Cmp(maxAmountIn.ToInt()) >= 0 { - continue + if bonderFees.Cmp(zero) != 0 { + if maxAmountIn.ToInt().Cmp(amountIn) >= 0 { + if bonderFees.Cmp(amountIn) >= 0 { + continue + } + } else { + if bonderFees.Cmp(maxAmountIn.ToInt()) >= 0 { + continue + } } } gasLimit := uint64(0)