mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Switch some Ledger instances to ReadView instances
* Remove ltCURRENT * Change getOwnerInfo * Use ReadView in TransactionSign * Change AcceptedLedger and ProposedTransaction to use ReadView * Change RPC::accounts
This commit is contained in:
@@ -1327,12 +1327,11 @@ bool ApplicationImp::loadOldLedger (
|
||||
for (auto const& item : txns)
|
||||
{
|
||||
auto const txn =
|
||||
getTransaction(*replayLedger, item.key(),
|
||||
getApp().getMasterTransaction());
|
||||
replayLedger->txRead(item.key()).first;
|
||||
if (m_journal.info) m_journal.info <<
|
||||
txn->getJson(0);
|
||||
Serializer s;
|
||||
txn->getSTransaction()->add(s);
|
||||
txn->add(s);
|
||||
cur->rawTxInsert(item.key(),
|
||||
std::make_shared<Serializer const>(
|
||||
std::move(s)), nullptr);
|
||||
|
||||
Reference in New Issue
Block a user