diff --git a/src/ripple_app/paths/Pathfinder.cpp b/src/ripple_app/paths/Pathfinder.cpp index 3eb414f3d..7291083e4 100644 --- a/src/ripple_app/paths/Pathfinder.cpp +++ b/src/ripple_app/paths/Pathfinder.cpp @@ -355,7 +355,7 @@ STPathSet Pathfinder::filterPaths(int iMaxPaths, STPath& extraPath) { path_LQ_t& lqt = vMap[i]; - if ((iPathsLeft != 1) || (lqt.get<2> () >= remaining)) + if ((iPathsLeft > 1) || (lqt.get<2> () >= remaining)) { // last path must fill --iPathsLeft;