mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix retry bug.
This commit is contained in:
@@ -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_RETRY)
|
||||
if (applyTransaction(engine, txn, applyLedger, openLgr, true) == LCAT_RETRY)
|
||||
failedTransactions.push_back(txn);
|
||||
#ifndef TRUST_NETWORK
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user