File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ uint16_t GetListenPort()
146
146
}
147
147
148
148
// find 'best' local address for a particular peer
149
- bool GetLocal (CService& addr, const CNode& peer)
149
+ [[nodiscard]] static bool GetLocal (CService& addr, const CNode& peer)
150
150
{
151
151
if (!fListen )
152
152
return false ;
Original file line number Diff line number Diff line change @@ -163,7 +163,6 @@ bool AddLocal(const CNetAddr& addr, int nScore = LOCAL_NONE);
163
163
void RemoveLocal (const CService& addr);
164
164
bool SeenLocal (const CService& addr);
165
165
bool IsLocal (const CService& addr);
166
- bool GetLocal (CService& addr, const CNode& peer);
167
166
CService GetLocalAddress (const CNode& peer);
168
167
CService MaybeFlipIPv6toCJDNS (const CService& service);
169
168
You can’t perform that action at this time.
0 commit comments