diff --git a/avalanchego/api/server/server.go b/avalanchego/api/server/server.go index fb697c57..dd4c2901 100644 --- a/avalanchego/api/server/server.go +++ b/avalanchego/api/server/server.go @@ -99,7 +99,7 @@ type server struct { log logging.Logger // generates new logs for chains to write to factory logging.Factory - // points the the router handlers + // points the router handlers handler http.Handler // Listens for HTTP traffic on this address listenHost string diff --git a/avalanchego/chains/atomic/state.go b/avalanchego/chains/atomic/state.go index b2279bb1..0d199700 100644 --- a/avalanchego/chains/atomic/state.go +++ b/avalanchego/chains/atomic/state.go @@ -136,7 +136,7 @@ func (s *state) SetValue(e *Element) error { // // This implies that chains interacting with shared memory must be able to // generate their chain state without actually performing the read of shared -// memory. Shared memory should only be used to verify that the the transition +// memory. Shared memory should only be used to verify that the transition // being performed is valid. That ensures that such verification can be skipped // during bootstrapping. It is up to the chain to ensure this based on the // current engine state. diff --git a/avalanchego/database/test_database.go b/avalanchego/database/test_database.go index ee57bc1e..0829488a 100644 --- a/avalanchego/database/test_database.go +++ b/avalanchego/database/test_database.go @@ -700,7 +700,7 @@ func TestIterator(t *testing.T, db Database) { } } -// TestIteratorStart tests to make sure the the iterator can be configured to +// TestIteratorStart tests to make sure the iterator can be configured to // start mid way through the database. func TestIteratorStart(t *testing.T, db Database) { key1 := []byte("hello1") diff --git a/coreth/plugin/evm/atomic_trie_iterator.go b/coreth/plugin/evm/atomic_trie_iterator.go index 394af477..73e09110 100644 --- a/coreth/plugin/evm/atomic_trie_iterator.go +++ b/coreth/plugin/evm/atomic_trie_iterator.go @@ -67,7 +67,7 @@ func (a *atomicTrieIterator) Next() bool { return false } - // The value in the iterator should be the atomic requests serialized the the codec. + // The value in the iterator should be the atomic requests serialized the codec. requests := new(atomic.Requests) if _, err = a.codec.Unmarshal(a.trieIterator.Value, requests); err != nil { a.resetFields(err)