Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update core/network/src/service.rs
Co-Authored-By: arkpar <[email protected]>
  • Loading branch information
andresilva and arkpar authored Apr 10, 2019
commit c998df48c2533607b83d05b6296b20746168a847
1 change: 1 addition & 0 deletions core/network/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ fn run_thread<B: BlockT + 'static>(
Severity::Bad(message) => {
info!(target: "sync", "Banning {:?} because {:?}", who, message);
network_service_2.lock().drop_node(&who);
// temporary: make sure the peer gets dropped from the peerset
peerset.report_peer(who, i32::min_value());
},
Severity::Useless(message) => {
Expand Down