mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45: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)
|
TER LedgerMaster::doTransaction(SerializedTransaction::ref txn, TransactionEngineParams params, bool& didApply)
|
||||||
{
|
{
|
||||||
|
Ledger::pointer ledger;
|
||||||
|
TER result;
|
||||||
|
|
||||||
{
|
{
|
||||||
boost::recursive_mutex::scoped_lock sl(mLock);
|
boost::recursive_mutex::scoped_lock sl(mLock);
|
||||||
TER result = mEngine.applyTransaction(*txn, params, didApply);
|
result = mEngine.applyTransaction(*txn, params, didApply);
|
||||||
Ledger::pointer ledger = mEngine.getLedger();
|
ledger = mEngine.getLedger();
|
||||||
}
|
}
|
||||||
// if (didApply)
|
// if (didApply)
|
||||||
theApp->getOPs().pubProposedTransaction(ledger, txn, result);
|
theApp->getOPs().pubProposedTransaction(ledger, txn, result);
|
||||||
|
|||||||
Reference in New Issue
Block a user