From b512ed3df2fc91c67e03af917a3961453683266b Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 11 Feb 2013 16:43:29 -0800 Subject: [PATCH] Correctly handle local failures in the consensus transaction application process. Local failures are not retriable. --- src/cpp/ripple/LedgerConsensus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/LedgerConsensus.cpp b/src/cpp/ripple/LedgerConsensus.cpp index 52d9533f3..8cba7d23e 100644 --- a/src/cpp/ripple/LedgerConsensus.cpp +++ b/src/cpp/ripple/LedgerConsensus.cpp @@ -1156,7 +1156,7 @@ int LedgerConsensus::applyTransaction(TransactionEngine& engine, SerializedTrans return LCAT_SUCCESS; } - if (isTefFailure(result) || isTemMalformed(result)) + if (isTefFailure(result) || isTemMalformed(result) || isTelLocal(result)) { // failure cLog(lsDEBUG) << "Transaction failure: " << transHuman(result); return LCAT_FAIL;