mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 12:09:37 +00:00
fix tendermint invalid commit (#392)
* fix conflicting commit msg signing vs verifying * fmt
This commit is contained in:
parent
30d0bad175
commit
2f45bba2d4
1 changed files with 2 additions and 4 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue