mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 09:46:52 -05:00
[addrman] [tests] Tidy up unused arguments in addrman test functions
This commit is contained in:
parent
7784a9a374
commit
d02098d1f0
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue