File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
core/src/consensus/tendermint Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1430,9 +1430,9 @@ impl Worker {
1430
1430
self . votes_received . set ( vote_index) ;
1431
1431
}
1432
1432
1433
- if let Err ( double ) = self . votes . collect ( message. clone ( ) ) {
1434
- cerror ! ( ENGINE , "Double vote found {:?}" , double ) ;
1435
- self . report_double_vote ( & double ) ;
1433
+ if let Err ( double_vote ) = self . votes . collect ( message. clone ( ) ) {
1434
+ cerror ! ( ENGINE , "Double vote found {:?}" , double_vote ) ;
1435
+ self . report_double_vote ( & double_vote ) ;
1436
1436
return Err ( EngineError :: DoubleVote ( sender) )
1437
1437
}
1438
1438
ctrace ! ( ENGINE , "Handling a valid {:?} from {}." , message, sender) ;
@@ -1823,9 +1823,9 @@ impl Worker {
1823
1823
) ;
1824
1824
}
1825
1825
1826
- if let Err ( double ) = self . votes . collect ( message) {
1827
- cerror ! ( ENGINE , "Double Vote found {:?}" , double ) ;
1828
- self . report_double_vote ( & double ) ;
1826
+ if let Err ( double_vote ) = self . votes . collect ( message) {
1827
+ cerror ! ( ENGINE , "Double Vote found {:?}" , double_vote ) ;
1828
+ self . report_double_vote ( & double_vote ) ;
1829
1829
return None
1830
1830
}
1831
1831
}
You can’t perform that action at this time.
0 commit comments