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

chore: remove redundant words in comment #2666

Open
wants to merge 1 commit into
base: main
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 cmd/blockchaincmd/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func StartLocalMachine(
// ask user if we want to use local machine if cluster is not provided
if !useLocalMachine && clusterNameFlagValue == "" {
ux.Logger.PrintToUser("You can use your local machine as a bootstrap validator on the blockchain")
ux.Logger.PrintToUser("This means that you don't have to to set up a remote server on a cloud service (e.g. AWS / GCP) to be a validator on the blockchain.")
ux.Logger.PrintToUser("This means that you don't have to set up a remote server on a cloud service (e.g. AWS / GCP) to be a validator on the blockchain.")

useLocalMachine, err = app.Prompt.CaptureYesNo("Do you want to use your local machine as a bootstrap validator?")
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/binutils/binaries.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func installZipArchive(zipfile []byte, binDir string) error {
return fmt.Errorf("failed to create app binary directory: %w", err)
}

// Closure to address file descriptors issue, uses Close to to not leave open descriptors
// Closure to address file descriptors issue, uses Close to not leave open descriptors
extractAndWriteFile := func(f *zip.File) error {
rc, err := f.Open()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/localnet/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func PrintEndpoints(
}

// PrintBlockchainEndpoints prints out a table of (RPC Kind, RPC) for the given
// [blockchain] associated to the the given tmpnet [networkDir]
// [blockchain] associated to the given tmpnet [networkDir]
// RPC Kind to be in [Localhost, Codespace] where the latest
// is used only if inside a codespace environment
func PrintBlockchainEndpoints(
Expand Down