mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
net: Denote some CNode functions const
This commit is contained in:
parent
64beb13179
commit
5f672ca8c1
@ -711,7 +711,7 @@ public:
|
|||||||
return nMyStartingHeight;
|
return nMyStartingHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
int GetRefCount()
|
int GetRefCount() const
|
||||||
{
|
{
|
||||||
assert(nRefCount >= 0);
|
assert(nRefCount >= 0);
|
||||||
return nRefCount;
|
return nRefCount;
|
||||||
@ -723,7 +723,7 @@ public:
|
|||||||
{
|
{
|
||||||
nRecvVersion = nVersionIn;
|
nRecvVersion = nVersionIn;
|
||||||
}
|
}
|
||||||
int GetRecvVersion()
|
int GetRecvVersion() const
|
||||||
{
|
{
|
||||||
return nRecvVersion;
|
return nRecvVersion;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user