Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
reinstate warning now that spam is reduced
Browse files Browse the repository at this point in the history
  • Loading branch information
rphmeier committed Jul 12, 2017
1 parent 7e7c878 commit ad7507c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ethcore/src/engines/validator_set/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ impl ValidatorSet for ValidatorContract {
fn report_malicious(&self, address: &Address, _set_block: BlockNumber, block: BlockNumber, proof: Bytes) {
match self.provider.report_malicious(&*self.transact(), *address, block.into(), proof).wait() {
Ok(_) => warn!(target: "engine", "Reported malicious validator {}", address),
Err(_) => {} // warn!(target: "engine", "Validator {} could not be reported {}", address, s),
Err(s) => warn!(target: "engine", "Validator {} could not be reported {}", address, s),
}
}

fn report_benign(&self, address: &Address, _set_block: BlockNumber, block: BlockNumber) {
match self.provider.report_benign(&*self.transact(), *address, block.into()).wait() {
Ok(_) => warn!(target: "engine", "Reported benign validator misbehaviour {}", address),
Err(_) => {} //warn!(target: "engine", "Validator {} could not be reported {}", address, s),
Err(s) => warn!(target: "engine", "Validator {} could not be reported {}", address, s),
}
}

Expand Down

0 comments on commit ad7507c

Please sign in to comment.