From 6494973fe4d27778185bdba99cb7cad205510c31 Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Fri, 11 Mar 2022 13:01:30 -0800 Subject: [PATCH] Americanise spelling. --- internal/consensus/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/consensus/state.go b/internal/consensus/state.go index e5ac30ebe..c6a54dd7c 100644 --- a/internal/consensus/state.go +++ b/internal/consensus/state.go @@ -886,7 +886,7 @@ func (cs *State) receiveRoutine(ctx context.Context, maxSteps int) { // swallowing the panic in receiveRoutine, making that appear to // work. Filtering this specific error is slightly risky, but should // affect only unit tests. In any case, not re-panicking here only - // preserves the pre-existing behaviour for this one error type. + // preserves the pre-existing behavior for this one error type. if err, ok := r.(error); ok && errors.Is(err, autofile.ErrAutoFileClosed) { return }