Skip to content

Commit c3a9a94

Browse files
committed
chore: remove redundant words in comment
Signed-off-by: MarkDaveny <peicuiping@aliyun.com>
1 parent 8fc4caf commit c3a9a94

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/blockchaincmd/convert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func StartLocalMachine(
141141
// ask user if we want to use local machine if cluster is not provided
142142
if !useLocalMachine && clusterNameFlagValue == "" {
143143
ux.Logger.PrintToUser("You can use your local machine as a bootstrap validator on the blockchain")
144-
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.")
144+
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.")
145145

146146
useLocalMachine, err = app.Prompt.CaptureYesNo("Do you want to use your local machine as a bootstrap validator?")
147147
if err != nil {

pkg/binutils/binaries.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func installZipArchive(zipfile []byte, binDir string) error {
8686
return fmt.Errorf("failed to create app binary directory: %w", err)
8787
}
8888

89-
// Closure to address file descriptors issue, uses Close to to not leave open descriptors
89+
// Closure to address file descriptors issue, uses Close to not leave open descriptors
9090
extractAndWriteFile := func(f *zip.File) error {
9191
rc, err := f.Open()
9292
if err != nil {

pkg/localnet/output.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func PrintEndpoints(
5858
}
5959

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

0 commit comments

Comments
 (0)