This commit is contained in:
JoelKatz
2013-03-05 23:37:41 -08:00
parent 996f320788
commit 1c9b4840d6

View File

@@ -116,7 +116,7 @@ Ledger::pointer LedgerMaster::closeLedger(bool recover)
mCurrentLedger = boost::make_shared<Ledger>(boost::ref(*closingLedger), true);
mEngine.setLedger(mCurrentLedger);
return closingLedger;
return Ledger::pointer(new Ledger(*closingLedger, true));
}
TER LedgerMaster::doTransaction(SerializedTransaction::ref txn, TransactionEngineParams params, bool& didApply)