mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-29 19:25:56 +00:00
post rebase fixes for BlockID, partSize
This commit is contained in:
+1
-1
@@ -97,7 +97,7 @@ func (s *State) Bytes() []byte {
|
||||
// Since we don't have the new AppHash yet, we set s.Stale=true
|
||||
func (s *State) SetBlockAndValidators(header *types.Header, blockPartsHeader types.PartSetHeader, prevValSet, nextValSet *types.ValidatorSet) {
|
||||
s.LastBlockHeight = header.Height
|
||||
s.LastBlockID = types.BlockID{block.Hash(), blockPartsHeader}
|
||||
s.LastBlockID = types.BlockID{header.Hash(), blockPartsHeader}
|
||||
s.LastBlockTime = header.Time
|
||||
s.Validators = nextValSet
|
||||
s.LastValidators = prevValSet
|
||||
|
||||
Reference in New Issue
Block a user