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 some typos #5235

Open
wants to merge 2 commits into
base: master
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 address/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/stellar/go/support/errors"
)

// Separator seperates the name and domain portions of an address
// Separator separates the name and domain portions of an address
const Separator = "*"

var (
Expand Down
2 changes: 1 addition & 1 deletion exp/doc.go
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Package exp houses experimental packages related to Stellar developement
// Package exp houses experimental packages related to Stellar development
package exp
2 changes: 1 addition & 1 deletion ingest/ledgerbackend/ledger_backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type LedgerBackend interface {
// GetLedger will block until the ledger is available.
GetLedger(ctx context.Context, sequence uint32) (xdr.LedgerCloseMeta, error)
// PrepareRange prepares the given range (including from and to) to be loaded.
// Some backends (like captive stellar-core) need to initalize data to be
// Some backends (like captive stellar-core) need to initialize data to be
// able to stream ledgers. Blocks until the first ledger is available.
PrepareRange(ctx context.Context, ledgerRange Range) error
// IsPrepared returns true if a given ledgerRange is prepared.
Expand Down
2 changes: 1 addition & 1 deletion support/scripts/build_release_artifacts/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func binNamesForDir(dir string) []string {
}

func build(pkg, dest, version, buildOS, buildArch string) {
// Note: verison string should match other build pipelines to create
// Note: version string should match other build pipelines to create
// reproducible builds for Horizon (and other projects in the future).
rev := runOutput("git", "rev-parse", "HEAD")
versionString := version[1:] // Remove letter `v`
Expand Down
2 changes: 1 addition & 1 deletion tools/xdr2go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func run(cmd *cobra.Command, args []string) error {
}
err := xdr.SafeUnmarshalBase64(args[0], object)
if err != nil {
return errors.Wrap(err, "Error unmarshaling XDR stucture.")
return errors.Wrap(err, "Error unmarshaling XDR structure.")
}

source := fmt.Sprintf("%#v\n", object)
Expand Down
Loading