mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
This is the correct fix.
This commit is contained in:
@@ -425,7 +425,8 @@ bool Pathfinder::findPaths(const unsigned int iMaxSteps, const unsigned int iMax
|
||||
// wrong currency
|
||||
nothing();
|
||||
}
|
||||
else if (spPath.hasSeen(uPeerID, speEnd.mCurrencyID, uPeerID) && (uPeerID != mSrcAccountID))
|
||||
else if (spPath.hasSeen(uPeerID, speEnd.mCurrencyID, uPeerID) ||
|
||||
((uPeerID == mSrcAccountID) && (uPeerID != mDstAccountID)))
|
||||
{
|
||||
// Peer is in path already. Ignore it to avoid a loop.
|
||||
cLog(lsTRACE) <<
|
||||
|
||||
Reference in New Issue
Block a user