Browse Source

consensus: no internal vars in reactor.String()

pull/342/head
Ethan Buchman 8 years ago
parent
commit
b126ca0606
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      consensus/reactor.go

+ 2
- 1
consensus/reactor.go 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 {


Loading…
Cancel
Save