chore: fix some comments for struct field (#20942)
Signed-off-by: cloudclaim <824973921@qq.com>
This commit is contained in:
parent
dc5c16b0be
commit
a22592a648
@ -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
|
||||
}
|
||||
|
||||
|
||||
@ -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)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user