diff --git a/src/cpp/ripple/LedgerConsensus.cpp b/src/cpp/ripple/LedgerConsensus.cpp index 8b2fdc732..22b89922c 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_RETRY) + if (applyTransaction(engine, txn, applyLedger, openLgr, true) == LCAT_RETRY) failedTransactions.push_back(txn); #ifndef TRUST_NETWORK }