mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Don't make "in" parameters look like "out"/"in-out" parameters: pass by ref to const instead of ref to non-const
This commit is contained in:
@@ -71,7 +71,7 @@ public:
|
||||
}
|
||||
|
||||
// Simulates connection failure so that we can test eviction of offline nodes
|
||||
void SimConnFail(CService& addr)
|
||||
void SimConnFail(const CService& addr)
|
||||
{
|
||||
LOCK(cs);
|
||||
int64_t nLastSuccess = 1;
|
||||
|
||||
Reference in New Issue
Block a user