1
mirror of https://github.com/monero-project/monero synced 2024-11-16 04:33:51 +01:00

Merge pull request #6943

cb069d0 p2p: remove banned peers from the white list (moneromooo-monero)
This commit is contained in:
luigi1111 2020-11-29 01:51:41 -06:00
commit 9a4d813136
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -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.");