Fix a harmless bug that caused transactions that succeded early to be retried once.

This commit is contained in:
JoelKatz
2013-01-20 21:59:34 -08:00
parent 521b94f600
commit 6e746c5851

View File

@@ -1152,7 +1152,7 @@ void LedgerConsensus::applyTransactions(SHAMap::ref set, Ledger::ref applyLedger
#endif
SerializerIterator sit(item->peekSerializer());
SerializedTransaction::pointer txn = boost::make_shared<SerializedTransaction>(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
}