From 3df9ea17b4d8b1ea16937d7bbbe0f5e14cc03ebe Mon Sep 17 00:00:00 2001 From: divdeploy <166095818+divdeploy@users.noreply.github.com> Date: Sat, 6 Apr 2024 01:14:07 +0800 Subject: [PATCH] chore(docs): fix some comments (#3873) Signed-off-by: divdeploy --- docs/docs/getting-started/installation.md | 2 +- pkg/trie/inmemory/in_memory.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/getting-started/installation.md b/docs/docs/getting-started/installation.md index 1b83f1c338..dd95aa0d6b 100644 --- a/docs/docs/getting-started/installation.md +++ b/docs/docs/getting-started/installation.md @@ -43,7 +43,7 @@ The development node is configured to produce a block every slot and to finalise ### Run Gossamer Node -The gossamer node runs by default as an authority with 9 authorites set at genesis. The built-in keys, corresponding to the authorities, that are available for the node are `alice`, `bob`, `charlie`, `dave`, `eve`, `ferdie`, `george`, and `ian`. +The gossamer node runs by default as an authority with 9 authorities set at genesis. The built-in keys, corresponding to the authorities, that are available for the node are `alice`, `bob`, `charlie`, `dave`, `eve`, `ferdie`, `george`, and `ian`. To initialise a gossamer node: diff --git a/pkg/trie/inmemory/in_memory.go b/pkg/trie/inmemory/in_memory.go index a6cf07626e..52d8830930 100644 --- a/pkg/trie/inmemory/in_memory.go +++ b/pkg/trie/inmemory/in_memory.go @@ -1492,7 +1492,7 @@ func concatenateSlices(sliceOne, sliceTwo []byte, otherSlices ...[]byte) (concat } if allNil { - // Return a nil slice instead of an an empty slice + // Return a nil slice instead of an empty slice // if all slices are nil. return nil }