From 7696feb552ce929809753ed4b007aa455b5aeaef Mon Sep 17 00:00:00 2001 From: William Banfield Date: Mon, 4 Oct 2021 17:17:58 -0400 Subject: [PATCH] language --- internal/consensus/reactor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/consensus/reactor.go b/internal/consensus/reactor.go index e4112af14..3ea3531f6 100644 --- a/internal/consensus/reactor.go +++ b/internal/consensus/reactor.go @@ -252,7 +252,7 @@ func (r *Reactor) OnStop() { // Here, we make a copy of the map of peer states. // The code below proceeds to access entries from the map outside of a lock. // Goroutines launched by other functions may be deleting from the map but should - // to it since we waited for the peerUpdates channel to complete. + // no longer be appending to it since we waited for the peerUpdates channel to complete. // Each of the methods below is safe to perform concurrently on the peers. for id, state := range r.peers { peers[id] = state