mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-04 17:00:52 +02:00
[addrman] [tests] Tidy up unused arguments in addrman test functions
This commit is contained in:
parent
7784a9a374
commit
d02098d1f0
@ -84,13 +84,13 @@ public:
|
|||||||
: AddrMan(asmap, /*deterministic=*/true, /* consistency_check_ratio */ 100)
|
: 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);
|
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);
|
LOCK(m_impl->cs);
|
||||||
return m_impl->Create(addr, addrSource, pnId);
|
return m_impl->Create(addr, addrSource, pnId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user