mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 04:09:23 +00:00
fix tendermint invalid commit (#392)
* fix conflicting commit msg signing vs verifying * fmt
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user