Skip to content

Commit

Permalink
fix tendermint invalid commit (#392)
Browse files Browse the repository at this point in the history
* fix conflicting commit msg signing vs verifying

* fmt
  • Loading branch information
akildemir authored Oct 10, 2023
1 parent 30d0bad commit 2f45bba
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions coordinator/tributary/tendermint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -481,10 +481,8 @@ impl<N: Network + 'static> TendermintMachine<N> {
}
}

let commit_msg = commit_msg(
self.block.end_time[&self.block.round().number].canonical(),
block.id().as_ref(),
);
let commit_msg =
commit_msg(self.block.end_time[&msg.round].canonical(), block.id().as_ref());
let commit = Commit {
end_time: self.block.end_time[&msg.round].canonical(),
validators: validators.clone(),
Expand Down

0 comments on commit 2f45bba

Please sign in to comment.