diff options
author | MacroFake <falke.marco@gmail.com> | 2022-05-18 18:29:04 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-18 18:46:27 +0200 |
commit | fa30234be81b6f49ae8150478a9255daa1611083 (patch) | |
tree | 9f351e81c83968cec83c973f9a4dd81364a54207 /src/net_processing.h | |
parent | fafe5c0ca2927642cbcec63ac73994737e1653d6 (diff) |
Do not pass CChainParams& to PeerManager::make
Diffstat (limited to 'src/net_processing.h')
-rw-r--r-- | src/net_processing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.h b/src/net_processing.h index c982b919a6..d5c73e6c79 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -39,7 +39,7 @@ struct CNodeStateStats { class PeerManager : public CValidationInterface, public NetEventsInterface { public: - static std::unique_ptr<PeerManager> make(const CChainParams& chainparams, CConnman& connman, AddrMan& addrman, + static std::unique_ptr<PeerManager> make(CConnman& connman, AddrMan& addrman, BanMan* banman, ChainstateManager& chainman, CTxMemPool& pool, bool ignore_incoming_txs); virtual ~PeerManager() { } |