Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/Typos #1299

Open
wants to merge 4 commits into
base: staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/cmd/eth1indexer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion backend/cmd/evm_node_indexer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion backend/cmd/statistics/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion backend/pkg/api/handlers/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down