consensus: fix for initializing block parts during catchup

This commit is contained in:
Ethan Buchman
2017-11-09 18:14:41 +00:00
parent a46f64cd1e
commit 4b9dfc8990
2 changed files with 30 additions and 15 deletions

View File

@ -55,6 +55,8 @@ func (rs RoundStepType) String() string {
// It is Immutable when returned from ConsensusState.GetRoundState()
// TODO: Actually, only the top pointer is copied,
// so access to field pointers is still racey
// NOTE: Not thread safe. Should only be manipulated by functions downstream
// of the cs.receiveRoutine
type RoundState struct {
Height int // Height we are working on
Round int