aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2023-07-13 12:14:16 -0600
committerJon Atack <jon@atack.com>2023-07-19 11:49:21 -0600
commit5ba73cd0ee1e661ec4d041ac8ae7a60cfd31f0c0 (patch)
treedceb64794c13576e60969d86280ef4bb835a0436 /src/net.cpp
parent11426f6557ac09489d5e13bf3b9d94fbd5073c8e (diff)
downloadbitcoin-5ba73cd0ee1e661ec4d041ac8ae7a60cfd31f0c0.tar.xz
Move GetLocal() declaration from header to implementation
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index ee4faeed9f..654e0ac9fd 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -146,7 +146,7 @@ uint16_t GetListenPort()
}
// find 'best' local address for a particular peer
-bool GetLocal(CService& addr, const CNode& peer)
+[[nodiscard]] static bool GetLocal(CService& addr, const CNode& peer)
{
if (!fListen)
return false;