From 6d7571f1e4d5cd882261b0867225296c9a7e67cb Mon Sep 17 00:00:00 2001 From: Anh Minh <1phamminh0811@gmail.com> Date: Thu, 23 May 2024 14:53:27 +0700 Subject: [PATCH] fix wrong doc --- custom/auth/post/post.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/custom/auth/post/post.go b/custom/auth/post/post.go index f410569dc..95f0f1867 100644 --- a/custom/auth/post/post.go +++ b/custom/auth/post/post.go @@ -11,9 +11,8 @@ type HandlerOptions struct { DyncommKeeper dyncommkeeper.Keeper } -// NewAnteHandler returns an AnteHandler that checks and increments sequence -// numbers, checks signatures & account numbers, and deducts fees from the first -// signer. +// NewPostHandler returns an PostHandler that checks and set target +// commission rate for msg create validator and msg edit validator func NewPostHandler(options HandlerOptions) (sdk.PostHandler, error) { return sdk.ChainPostDecorators( dyncommpost.NewDyncommPostDecorator(options.DyncommKeeper),