Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: riyueguang <rustruby@outlook.com>
  • Loading branch information
riyueguang committed Jul 26, 2024
1 parent 502450c commit b590afe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -1262,4 +1262,4 @@ message MsgSetWithdrawAddress {
}
```

When clients interact with a node they are required to set a codec in in the grpc.Dial. More information can be found in this [doc](https://docs.cosmos.network/v0.46/run-node/interact-node.html#programmatically-via-go).
When clients interact with a node they are required to set a codec in the grpc.Dial. More information can be found in this [doc](https://docs.cosmos.network/v0.46/run-node/interact-node.html#programmatically-via-go).
2 changes: 1 addition & 1 deletion math/dec.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ func (d LegacyDec) ApproxRoot(root uint64) (guess LegacyDec, err error) {
return guess, nil
}

// Power returns a the result of raising to a positive integer power
// Power returns the result of raising to a positive integer power
func (d LegacyDec) Power(power uint64) LegacyDec {
res := LegacyDec{new(big.Int).Set(d.i)}
return res.PowerMut(power)
Expand Down
2 changes: 1 addition & 1 deletion server/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func InterceptConfigsAndCreateContext(cmd *cobra.Command, customAppConfigTemplat
return serverCtx, nil
}

// CreateSDKLogger creates a the default SDK logger.
// CreateSDKLogger creates the default SDK logger.
// It reads the log level and format from the server context.
func CreateSDKLogger(ctx *Context, out io.Writer) (log.Logger, error) {
var opts []log.Option
Expand Down
2 changes: 1 addition & 1 deletion server/v2/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"cosmossdk.io/log"
)

// NewLogger creates a the default SDK logger.
// NewLogger creates the default SDK logger.
// It reads the log level and format from the server context.
func NewLogger(v *viper.Viper, out io.Writer) (corelog.Logger, error) {
var opts []log.Option
Expand Down
2 changes: 1 addition & 1 deletion x/accounts/testing/account_abstraction/minimal.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (a MinimalAbstractedAccount) RotatePubKey(ctx context.Context, msg *rotatio
return nil, errors.New("not implemented")
}

// Authenticate authenticates the account, auth always passess.
// Authenticate authenticates the account, auth always passes.
func (a MinimalAbstractedAccount) Authenticate(ctx context.Context, msg *account_abstractionv1.MsgAuthenticate) (*account_abstractionv1.MsgAuthenticateResponse, error) {
_, err := a.Sequence.Next(ctx)
if err != nil {
Expand Down

0 comments on commit b590afe

Please sign in to comment.