From d02098d1f042ff91c2206c27c48b385418ece0cc Mon Sep 17 00:00:00 2001 From: John Newbery Date: Mon, 1 Nov 2021 15:37:19 +0000 Subject: [addrman] [tests] Tidy up unused arguments in addrman test functions --- src/test/addrman_tests.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test/addrman_tests.cpp') 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); -- cgit v1.2.3