From 2bcdaaac75ad00aec5e73555ff76006ab07653ff Mon Sep 17 00:00:00 2001 From: William Banfield Date: Mon, 7 Mar 2022 15:49:46 -0500 Subject: [PATCH] spelling fix --- consensus/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()