mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Rename LedgerAcquire to InboundLedger
This commit is contained in:
@@ -2070,9 +2070,9 @@ void PeerImp::recvLedger (const boost::shared_ptr<ripple::TMLedgerData>& packet_
|
||||
return;
|
||||
}
|
||||
|
||||
if (theApp->getMasterLedgerAcquire ().awaitLedgerData (hash))
|
||||
if (theApp->getInboundLedgers ().awaitLedgerData (hash))
|
||||
theApp->getJobQueue ().addJob (jtLEDGER_DATA, "gotLedgerData",
|
||||
BIND_TYPE (&LedgerAcquireMaster::gotLedgerData, &theApp->getMasterLedgerAcquire (),
|
||||
BIND_TYPE (&InboundLedgers::gotLedgerData, &theApp->getInboundLedgers (),
|
||||
P_1, hash, packet_ptr, boost::weak_ptr<Peer> (shared_from_this ())));
|
||||
else
|
||||
punishPeer (LT_UnwantedData);
|
||||
|
||||
Reference in New Issue
Block a user