diff options
author | John Newbery <john@johnnewbery.com> | 2020-10-23 10:17:45 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-03-20 10:24:40 +0000 |
commit | 392a95d393a9af01b53e5e68197e81968efb84fc (patch) | |
tree | 9d66e72b186b75a3fb17604ceac26d3de43c6fba /src/init.cpp | |
parent | 1c25adf6d278eb1a1f018986a126d0eb8137e0ee (diff) |
[net_processing] Keep addrman reference in PeerManager
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 6ec46dbeb6..54e30d31e5 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1424,7 +1424,7 @@ bool AppInitMain(const util::Ref& context, NodeContext& node, interfaces::BlockA ChainstateManager& chainman = *Assert(node.chainman); assert(!node.peerman); - node.peerman = PeerManager::make(chainparams, *node.connman, node.banman.get(), + node.peerman = PeerManager::make(chainparams, *node.connman, *node.addrman, node.banman.get(), *node.scheduler, chainman, *node.mempool, ignores_incoming_txs); RegisterValidationInterface(node.peerman.get()); |