From 6e746c5851073620fcafae4e9af6f7ab20899c87 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sun, 20 Jan 2013 21:59:34 -0800 Subject: [PATCH] Fix a harmless bug that caused transactions that succeded early to be retried once. --- 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 5fcd7388d..8b2fdc732 100644 --- a/src/cpp/ripple/LedgerConsensus.cpp +++ b/src/cpp/ripple/LedgerConsensus.cpp @@ -1152,7 +1152,7 @@ void LedgerConsensus::applyTransactions(SHAMap::ref set, Ledger::ref applyLedger #endif SerializerIterator sit(item->peekSerializer()); SerializedTransaction::pointer txn = boost::make_shared(boost::ref(sit)); - if (applyTransaction(engine, txn, applyLedger, openLgr, true) != LCAT_FAIL) + if (applyTransaction(engine, txn, applyLedger, openLgr, true) != LCAT_RETRY) failedTransactions.push_back(txn); #ifndef TRUST_NETWORK }