From 393d34f823e30bbba62dcba14480150453962cf5 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 7 May 2013 07:07:36 -0700 Subject: [PATCH] Emergency fix. --- src/cpp/ripple/RippleCalc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpp/ripple/RippleCalc.cpp b/src/cpp/ripple/RippleCalc.cpp index b6b572805..4e2e66bce 100644 --- a/src/cpp/ripple/RippleCalc.cpp +++ b/src/cpp/ripple/RippleCalc.cpp @@ -912,6 +912,7 @@ TER RippleCalc::calcNodeAdvance( { // No more offers. Should be done rather than fall off end of book. cLog(lsWARNING) << "calcNodeAdvance: Unreachable: Fell off end of order book."; + return mOpenLedger ? telFAILED_PROCESSING : tecFAILED_PROCESSING; // FIXME assert(false); terResult = tefEXCEPTION;