Skip to content

Commit 0178035

Browse files
authored
chore: fix some comments (#301)
Signed-off-by: linghuying <[email protected]>
1 parent 80c7338 commit 0178035

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/web3/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ func BuildSol(ctx context.Context, filename, solcVersion, evmVersion string, opt
16291629
continue
16301630
}
16311631
if name != "" && fileparts[1] != name {
1632-
// this will skip all the little contract files that it used to litter the the directory with
1632+
// this will skip all the little contract files that it used to litter the directory with
16331633
continue
16341634
}
16351635
path := filepath.Join(output, fileparts[1])

cmd/web3/transactions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func Transfer(ctx context.Context, rpcURL string, chainID *big.Int, privateKey,
110110

111111
amount := web3.DecToInt(amountD, 18)
112112
if toAddress == "" {
113-
fatalExit(errors.New("The recepient address cannot be empty"))
113+
fatalExit(errors.New("The recipient address cannot be empty"))
114114
}
115115
if !common.IsHexAddress(toAddress) {
116116
fatalExit(fmt.Errorf("Invalid to 'address': %s", toAddress))

vyper/compiler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func InstallVyper(contractName string) {
1111
output, err := cmd.Output()
1212
fmt.Println(output)
1313
if err != nil {
14-
fmt.Println("*Web3.go Vyper Engine Error* Unable to install vyper compilier")
14+
fmt.Println("*Web3.go Vyper Engine Error* Unable to install vyper compiler")
1515
}
1616
}
1717

0 commit comments

Comments
 (0)