mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Make SocketSendData non-const
This commit is contained in:
parent
de931a25a3
commit
50fc3c5cce
@ -914,7 +914,7 @@ const uint256& CNetMessage::GetMessageHash() const
|
||||
return data_hash;
|
||||
}
|
||||
|
||||
size_t CConnman::SocketSendData(CNode *pnode) const EXCLUSIVE_LOCKS_REQUIRED(pnode->cs_vSend)
|
||||
size_t CConnman::SocketSendData(CNode *pnode) EXCLUSIVE_LOCKS_REQUIRED(pnode->cs_vSend)
|
||||
{
|
||||
auto it = pnode->vSendMsg.begin();
|
||||
size_t nSentSize = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user