refactor(client): removed unused function (#19468)

Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
This commit is contained in:
Hwangjae Lee 2024-02-19 17:12:10 +09:00 committed by GitHub
parent a79f932ecf
commit 16b19638ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,11 +35,6 @@ func (ctx Context) BroadcastTx(txBytes []byte) (res *sdk.TxResponse, err error)
return res, err
}
// Deprecated: Use CheckCometError instead.
func CheckTendermintError(err error, tx cmttypes.Tx) *sdk.TxResponse {
return CheckCometError(err, tx)
}
// CheckCometError checks if the error returned from BroadcastTx is a
// CometBFT error that is returned before the tx is submitted due to
// precondition checks that failed. If an CometBFT error is detected, this