aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2021-11-01 15:37:19 +0000
committerJohn Newbery <john@johnnewbery.com>2021-11-09 17:09:50 +0000
commitd02098d1f042ff91c2206c27c48b385418ece0cc (patch)
treeb49e815c0a7f0db70ce15ee927204196579a8ffb /src/test
parent7784a9a374ac34acb4656f740fecf4ae1743f73f (diff)
[addrman] [tests] Tidy up unused arguments in addrman test functions
Diffstat (limited to 'src/test')
-rw-r--r--src/test/addrman_tests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/addrman_tests.cpp b/src/test/addrman_tests.cpp
index f74906580f..8c6c9415bd 100644
--- a/src/test/addrman_tests.cpp
+++ b/src/test/addrman_tests.cpp
@@ -84,13 +84,13 @@ public:
: AddrMan(asmap, /*deterministic=*/true, /* consistency_check_ratio */ 100)
{}
- AddrInfo* Find(const CService& addr, int* pnId = nullptr)
+ AddrInfo* Find(const CService& addr)
{
LOCK(m_impl->cs);
- return m_impl->Find(addr, pnId);
+ return m_impl->Find(addr);
}
- AddrInfo* Create(const CAddress& addr, const CNetAddr& addrSource, int* pnId = nullptr)
+ AddrInfo* Create(const CAddress& addr, const CNetAddr& addrSource, int* pnId)
{
LOCK(m_impl->cs);
return m_impl->Create(addr, addrSource, pnId);