From a22592a64871fa7abe4a13976a3e841029a53d0d Mon Sep 17 00:00:00 2001 From: cloudclaim <824973921@qq.com> Date: Sat, 13 Jul 2024 14:02:21 +0900 Subject: [PATCH] chore: fix some comments for struct field (#20942) Signed-off-by: cloudclaim <824973921@qq.com> --- server/start.go | 2 +- x/auth/signing/sign_mode_handler.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/start.go b/server/start.go index 6f4f3eaf5268..37089246b8b5 100644 --- a/server/start.go +++ b/server/start.go @@ -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 } diff --git a/x/auth/signing/sign_mode_handler.go b/x/auth/signing/sign_mode_handler.go index 2c1b85d1b313..277fec08f66a 100644 --- a/x/auth/signing/sign_mode_handler.go +++ b/x/auth/signing/sign_mode_handler.go @@ -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) }