diff --git a/backend/cmd/eth1indexer/main.go b/backend/cmd/eth1indexer/main.go index 47806252c..5155cb495 100644 --- a/backend/cmd/eth1indexer/main.go +++ b/backend/cmd/eth1indexer/main.go @@ -38,7 +38,7 @@ import ( func Run() { fs := flag.NewFlagSet("fs", flag.ExitOnError) - erigonEndpoint := fs.String("erigon", "", "Erigon archive node enpoint") + erigonEndpoint := fs.String("erigon", "", "Erigon archive node endpoint") block := fs.Int64("block", 0, "Index a specific block") reorgDepth := fs.Int("reorg.depth", 20, "Lookback to check and handle chain reorgs") diff --git a/backend/cmd/evm_node_indexer/main.go b/backend/cmd/evm_node_indexer/main.go index ec277fafb..5d4bcc484 100644 --- a/backend/cmd/evm_node_indexer/main.go +++ b/backend/cmd/evm_node_indexer/main.go @@ -723,7 +723,7 @@ func _splitAndVerifyJsonArrayAddElement(r *[][]byte, element []byte, lastId int6 return -1, fmt.Errorf("error decoding '%s': %w", element, err) } - // negativ ids signals an issue + // negative ids signals an issue if data.Id < 0 { return -1, fmt.Errorf("error, provided Id (%d) < 0", data.Id) } diff --git a/backend/cmd/statistics/main.go b/backend/cmd/statistics/main.go index d7298bb1a..41731cab8 100644 --- a/backend/cmd/statistics/main.go +++ b/backend/cmd/statistics/main.go @@ -232,7 +232,7 @@ func statisticsLoop(client rpc.Client) { var loopError error latestEpoch := cache.LatestFinalizedEpoch.Get() if latestEpoch == 0 { - log.Error(nil, "error retreiving latest finalized epoch from cache", 0) + log.Error(nil, "error retrieving latest finalized epoch from cache", 0) time.Sleep(time.Minute) continue } diff --git a/backend/pkg/api/handlers/auth.go b/backend/pkg/api/handlers/auth.go index 6716bc16e..b4b59cbae 100644 --- a/backend/pkg/api/handlers/auth.go +++ b/backend/pkg/api/handlers/auth.go @@ -145,7 +145,7 @@ func (h *HandlerService) sendPasswordResetEmail(ctx context.Context, userId uint } // 3. send confirmation email - subject := fmt.Sprintf("%s: Reset your passsword", utils.Config.Frontend.SiteDomain) + subject := fmt.Sprintf("%s: Reset your password", utils.Config.Frontend.SiteDomain) msg := fmt.Sprintf(`Please reset your password on %[1]s by clicking this link: https://%[1]s/reset-password/%[2]s