From b126ca0606ac5ae919972246ed69c01e00ac12d2 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Mon, 19 Dec 2016 23:18:08 -0500 Subject: [PATCH] consensus: no internal vars in reactor.String() --- consensus/reactor.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/consensus/reactor.go b/consensus/reactor.go index 6190fc525..6b013a0ce 100644 --- a/consensus/reactor.go +++ b/consensus/reactor.go @@ -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 {