mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
remove unused CNode::Cleanup()
This commit is contained in:
parent
8f59251b83
commit
2831a03b79
@ -528,10 +528,6 @@ void CNode::CloseSocketDisconnect()
|
||||
pnodeSync = NULL;
|
||||
}
|
||||
|
||||
void CNode::Cleanup()
|
||||
{
|
||||
}
|
||||
|
||||
void CNode::PushVersion()
|
||||
{
|
||||
int nBestHeight = g_signals.GetHeight().get_value_or(0);
|
||||
@ -773,7 +769,6 @@ void ThreadSocketHandler()
|
||||
|
||||
// close socket and cleanup
|
||||
pnode->CloseSocketDisconnect();
|
||||
pnode->Cleanup();
|
||||
|
||||
// hold in disconnected pool until all refs are released
|
||||
if (pnode->fNetworkNode || pnode->fInbound)
|
||||
|
Loading…
Reference in New Issue
Block a user