consensus: no internal vars in reactor.String()

This commit is contained in:
Ethan Buchman 2016-12-19 23:18:08 -05:00
parent 40b08f2494
commit b126ca0606
1 changed files with 2 additions and 1 deletions

View File

@ -671,7 +671,8 @@ OUTER_LOOP:
}
func (conR *ConsensusReactor) String() string {
return conR.StringIndented("")
// better not to access shared variables
return Fmt("ConsensusReactor") // conR.StringIndented("")
}
func (conR *ConsensusReactor) StringIndented(indent string) string {