Skip to content

Commit

Permalink
Make step transition log verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
majecty committed Sep 11, 2019
1 parent c4c0de0 commit 44c4034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/consensus/tendermint/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ impl Worker {

#[allow(clippy::cognitive_complexity)]
fn move_to_step(&mut self, state: TendermintState, is_restoring: bool) {
ctrace!(ENGINE, "Transition to {:?} triggered.", state);
ctrace!(ENGINE, "Transition to {:?} triggered from {:?}.", state, self.step);
let prev_step = mem::replace(&mut self.step, state.clone());
if !is_restoring {
self.backup();
Expand Down

0 comments on commit 44c4034

Please sign in to comment.