mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Wake message handling thread when we receive a new block
This forces the message handling thread to make another full iteration of SendMessages prior to going back to sleep, ensuring we announce the new block to all peers before sleeping.
This commit is contained in:
parent
f13914a0e9
commit
241d8938f4
@ -822,6 +822,7 @@ void PeerLogicValidation::UpdatedBlockTip(const CBlockIndex *pindexNew, const CB
|
||||
}
|
||||
}
|
||||
});
|
||||
connman->WakeMessageHandler();
|
||||
}
|
||||
|
||||
nTimeBestReceived = GetTime();
|
||||
|
Loading…
Reference in New Issue
Block a user