mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix ledger acquire timing.
This commit is contained in:
@@ -773,7 +773,7 @@ void Peer::recvGetLedger(newcoin::TMGetLedger& packet)
|
||||
|
||||
void Peer::recvLedger(newcoin::TMLedgerData& packet)
|
||||
{
|
||||
if(!theApp->getMasterLedgerAcquire().gotLedgerData(packet))
|
||||
if(!theApp->getMasterLedgerAcquire().gotLedgerData(packet, shared_from_this()))
|
||||
punishPeer(PP_UNWANTED_DATA);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user