mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 13:35:54 +00:00
Accept ledgers more efficiently by avoiding allocate/allocate/copy/copy/free cycles.
This commit is contained in:
@@ -1439,8 +1439,8 @@ void NetworkOPs::pubLedger(Ledger::ref accepted)
|
||||
{
|
||||
BOOST_FOREACH(const AcceptedLedger::value_type& vt, alpAccepted->getMap())
|
||||
{
|
||||
cLog(lsTRACE) << "pubAccepted: " << vt.second.getJson();
|
||||
pubValidatedTransaction(lpAccepted, vt.second);
|
||||
cLog(lsTRACE) << "pubAccepted: " << vt.second->getJson();
|
||||
pubValidatedTransaction(lpAccepted, *vt.second);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user