chore: fix some comments for struct field (#20942)

Signed-off-by: cloudclaim <824973921@qq.com>
This commit is contained in:
cloudclaim 2024-07-13 14:02:21 +09:00 committed by GitHub
parent dc5c16b0be
commit a22592a648
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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)
}