Skip to content

Commit

Permalink
chore: fix some comments for struct field (#20942)
Browse files Browse the repository at this point in the history
Signed-off-by: cloudclaim <824973921@qq.com>
  • Loading branch information
cloudclaim committed Jul 13, 2024
1 parent dc5c16b commit a22592a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ type StartCmdOptions[T types.Application] struct {
PostSetupStandalone func(app T, svrCtx *Context, clientCtx client.Context, ctx context.Context, g *errgroup.Group) error
// AddFlags add custom flags to start cmd
AddFlags func(cmd *cobra.Command)
// StartCommandHanlder can be used to customize the start command handler
// StartCommandHandler can be used to customize the start command handler
StartCommandHandler func(svrCtx *Context, clientCtx client.Context, appCreator types.AppCreator[T], inProcessConsensus bool, opts StartCmdOptions[T]) error
}

Expand Down
2 changes: 1 addition & 1 deletion x/auth/signing/sign_mode_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type SignModeHandler interface {
type SignModeHandlerWithContext interface {
SignModeHandler

// GetSignBytes returns the sign bytes for the provided SignMode, SignerData and Tx,
// GetSignBytesWithContext returns the sign bytes for the provided SignMode, SignerData and Tx,
// or an error
GetSignBytesWithContext(ctx context.Context, mode signing.SignMode, data SignerData, tx sdk.Tx) ([]byte, error)
}
Expand Down

0 comments on commit a22592a

Please sign in to comment.