From 85e8a719185c85157fdf2e500028ffc3d0e2f68a Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 26 Aug 2013 16:56:40 -0700 Subject: [PATCH] Fix the disappearing paths problem. --- modules/ripple_app/paths/ripple_PathRequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ripple_app/paths/ripple_PathRequest.cpp b/modules/ripple_app/paths/ripple_PathRequest.cpp index e00151df00..2289733692 100644 --- a/modules/ripple_app/paths/ripple_PathRequest.cpp +++ b/modules/ripple_app/paths/ripple_PathRequest.cpp @@ -278,7 +278,7 @@ bool PathRequest::doUpdate (RippleLineCache::ref cache, bool fast) currIssuer.first, currIssuer.second, saDstAmount, valid); CondLog (!valid, lsINFO, PathRequest) << "PF request not valid"; - if (valid && pf.findPaths (getConfig ().PATH_SEARCH_SIZE - (fast ? 0 : 1), 3, spsPaths)) + if (valid && pf.findPaths (getConfig ().PATH_SEARCH_SIZE - (fast ? 1 : 0), 3, spsPaths)) { LedgerEntrySet lesSandbox (cache->getLedger (), tapNONE); std::vector vpsExpanded;