From 92dafe6dacb75d06293493897b8db2ac67d681e8 Mon Sep 17 00:00:00 2001 From: qkrybin <63234878+qkrybin@users.noreply.github.com> Date: Fri, 17 May 2024 19:08:24 +0900 Subject: [PATCH] docs(x/auth/ante): fixed typo in TxWithTimeoutHeight interface name (#20418) Signed-off-by: qkrybin --- x/auth/ante/basic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/auth/ante/basic.go b/x/auth/ante/basic.go index de5d8b7f52..f218062a8b 100644 --- a/x/auth/ante/basic.go +++ b/x/auth/ante/basic.go @@ -183,7 +183,7 @@ type ( TxTimeoutHeightDecorator struct{} // TxWithTimeoutHeight defines the interface a tx must implement in order for - // TxHeightTimeoutDecorator to process the tx. + // TxTimeoutHeightDecorator to process the tx. TxWithTimeoutHeight interface { sdk.Tx @@ -197,7 +197,7 @@ func NewTxTimeoutHeightDecorator() TxTimeoutHeightDecorator { return TxTimeoutHeightDecorator{} } -// AnteHandle implements an AnteHandler decorator for the TxHeightTimeoutDecorator +// AnteHandle implements an AnteHandler decorator for the TxTimeoutHeightDecorator // type where the current block height is checked against the tx's height timeout. // If a height timeout is provided (non-zero) and is less than the current block // height, then an error is returned.