From 1cb71cfa3b0f3a336409d8ab2b665e622ea88f8b Mon Sep 17 00:00:00 2001 From: William Banfield Date: Mon, 7 Mar 2022 12:02:10 -0500 Subject: [PATCH] comment fix --- consensus/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/state.go b/consensus/state.go index 210cb49f3..b4da69286 100644 --- a/consensus/state.go +++ b/consensus/state.go @@ -828,7 +828,7 @@ func (cs *State) handleMsg(mi msgInfo) { // gossip the now completed block. // // This code can be further improved by either always operating on a copy - // of RoundState and only locking when to swithc out State's copy of + // of RoundState and only locking when swithing out State's copy of // RoundState with the updated copy or by emitting RoundState events in // more places for routines depending on it to listen for. cs.mtx.Unlock()