mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
Fix error with multi-quality paths.
This commit is contained in:
committed by
Vinnie Falco
parent
9e319d7bd6
commit
985aa803a4
@@ -24,7 +24,7 @@ namespace path {
|
||||
|
||||
TER PathCursor::advanceNode (STAmount const& amount, bool reverse) const
|
||||
{
|
||||
if (!multiQuality_ || amount != zero)
|
||||
if (!multiQuality_ && amount != zero)
|
||||
return advanceNode (reverse);
|
||||
|
||||
PathCursor withMultiQuality{rippleCalc_, pathState_, true, nodeIndex_};
|
||||
|
||||
Reference in New Issue
Block a user