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()