Emergency fix.

This commit is contained in:
JoelKatz
2013-05-08 17:23:18 -07:00
parent f6903508cf
commit bf032b2468

View File

@@ -2155,6 +2155,11 @@ TER RippleCalc::calcNodeAccountRev(const unsigned int uNode, PathState& psCur, c
% psCur.saOutAct
% psCur.saOutReq);
if (!saCurWantedReq.isPositive())
{ // TEMPORARY emergency fix
return tefEXCEPTION;
}
assert(saCurWantedReq.isPositive());
// Rate: quality in : 1.0