diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-11-29 01:51:41 -0600 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-11-29 01:51:41 -0600 |
commit | 9a4d813136fcc26e3ddec0b3db563fbe6c93fba7 (patch) | |
tree | 36cf387a353313e6ad8ce4a957d5fde372938e56 | |
parent | Merge pull request #6937 (diff) | |
parent | p2p: remove banned peers from the white list (diff) | |
download | monero-9a4d813136fcc26e3ddec0b3db563fbe6c93fba7.tar.xz |
Merge pull request #6943
cb069d0 p2p: remove banned peers from the white list (moneromooo-monero)
-rw-r--r-- | src/p2p/net_node.inl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 055d3507e..73c37e284 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -246,6 +246,10 @@ namespace nodetool zone.second.m_net_server.get_config_object().close(c); conns.clear(); + + peerlist_entry pe{}; + pe.adr = addr; + zone.second.m_peerlist.remove_from_peer_white(pe); } MCLOG_CYAN(el::Level::Info, "global", "Host " << addr.host_str() << " blocked."); |