mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +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
|
TER PathCursor::advanceNode (STAmount const& amount, bool reverse) const
|
||||||
{
|
{
|
||||||
if (!multiQuality_ || amount != zero)
|
if (!multiQuality_ && amount != zero)
|
||||||
return advanceNode (reverse);
|
return advanceNode (reverse);
|
||||||
|
|
||||||
PathCursor withMultiQuality{rippleCalc_, pathState_, true, nodeIndex_};
|
PathCursor withMultiQuality{rippleCalc_, pathState_, true, nodeIndex_};
|
||||||
|
|||||||
Reference in New Issue
Block a user