mirror of
https://github.com/fluencelabs/tendermint
synced 2025-08-01 04:31:57 +00:00
time encoding in binary/reflect
This commit is contained in:
@@ -820,7 +820,7 @@ func (cs *ConsensusState) TryFinalizeCommit(height uint) bool {
|
||||
}
|
||||
hash, header, _ := cs.Commits.TwoThirdsMajority()
|
||||
if !cs.ProposalBlock.HashesTo(hash) {
|
||||
panic(Fmt("Expected ProposalBlock to hash to commit hash"))
|
||||
panic(Fmt("Expected ProposalBlock to hash to commit hash. Expected %X, got %X", hash, cs.ProposalBlock.Hash()))
|
||||
}
|
||||
if !cs.ProposalBlockParts.HasHeader(header) {
|
||||
panic(Fmt("Expected ProposalBlockParts header to be commit header"))
|
||||
|
Reference in New Issue
Block a user