diff --git a/consensus/state.go b/consensus/state.go index f6f1d13d0..3502b7825 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 swithing out State's copy of + // of RoundState and only locking when switching 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()