mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 06:25:51 +00:00
Zero to do on each ripple pass.
This commit is contained in:
@@ -2667,6 +2667,16 @@ void RippleCalc::pathNext(PathState::ref psrCur, const bool bMultiQuality, const
|
|||||||
|
|
||||||
lesCurrent = lesCheckpoint.duplicate(); // Restore from checkpoint.
|
lesCurrent = lesCheckpoint.duplicate(); // Restore from checkpoint.
|
||||||
|
|
||||||
|
for (unsigned int uIndex = psrCur->vpnNodes.size(); uIndex--;)
|
||||||
|
{
|
||||||
|
PaymentNode& pnCur = psrCur->vpnNodes[uIndex];
|
||||||
|
|
||||||
|
pnCur.saRevRedeem.zero();
|
||||||
|
pnCur.saRevIssue.zero();
|
||||||
|
pnCur.saRevDeliver.zero();
|
||||||
|
pnCur.saFwdDeliver.zero();
|
||||||
|
}
|
||||||
|
|
||||||
psrCur->terStatus = calcNodeRev(uLast, *psrCur, bMultiQuality);
|
psrCur->terStatus = calcNodeRev(uLast, *psrCur, bMultiQuality);
|
||||||
|
|
||||||
cLog(lsDEBUG) << "pathNext: Path after reverse: " << psrCur->getJson();
|
cLog(lsDEBUG) << "pathNext: Path after reverse: " << psrCur->getJson();
|
||||||
|
|||||||
Reference in New Issue
Block a user