mirror of https://github.com/bitcoin/bitcoin
Although we currently don't do this, it should be possible to create a CConnman or PeerLogicValidation without a Banman instance. Therefore always check that banman exists before dereferencing the pointer. Also add comments to the m_banman members of CConnman and PeerLogicValidation to document that these may be nullptr.pull/19514/head
parent
07c83ce039
commit
ca3585a483
Loading…
Reference in new issue