Skip to content

Commit de7c5f6

Browse files
author
Seulgi Kim
committed
Make the node send an email when it found double votes
1 parent c43284e commit de7c5f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/consensus/tendermint/worker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ impl Worker {
13191319

13201320
if let Some(double) = self.votes.vote(message.clone()) {
13211321
let height = message.on.step.height as BlockNumber;
1322-
cwarn!(ENGINE, "Double vote found {:?}", double);
1322+
cerror!(ENGINE, "Double vote found {:?}", double);
13231323
self.validators.report_malicious(&sender, height, height, ::rlp::encode(&double).into_vec());
13241324
return Err(EngineError::DoubleVote(sender))
13251325
}

0 commit comments

Comments
 (0)