Browse Source

update comment

pull/449/head
Ethan Buchman 8 years ago
parent
commit
29a893b193
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      state/state.go

+ 2
- 1
state/state.go View File

@ -132,7 +132,8 @@ func (s *State) Bytes() []byte {
// after running EndBlock
func (s *State) SetBlockAndValidators(header *types.Header, blockPartsHeader types.PartSetHeader, abciResponses *ABCIResponses) {
// copy the valset
// copy the valset so we can apply changes from EndBlock
// and update s.LastValidators and s.Validators
prevValSet := s.Validators.Copy()
nextValSet := prevValSet.Copy()


Loading…
Cancel
Save