mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Fix the fix.
This commit is contained in:
@@ -122,10 +122,13 @@ Ledger::pointer LedgerMaster::closeLedger(bool recover)
|
||||
|
||||
TER LedgerMaster::doTransaction(SerializedTransaction::ref txn, TransactionEngineParams params, bool& didApply)
|
||||
{
|
||||
Ledger::pointer ledger;
|
||||
TER result;
|
||||
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock sl(mLock);
|
||||
TER result = mEngine.applyTransaction(*txn, params, didApply);
|
||||
Ledger::pointer ledger = mEngine.getLedger();
|
||||
result = mEngine.applyTransaction(*txn, params, didApply);
|
||||
ledger = mEngine.getLedger();
|
||||
}
|
||||
// if (didApply)
|
||||
theApp->getOPs().pubProposedTransaction(ledger, txn, result);
|
||||
|
||||
Reference in New Issue
Block a user