docs: fixed typo in client/broadcast.go (#19469)
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
This commit is contained in:
parent
0f113520f9
commit
c01db814b9
@ -37,7 +37,7 @@ func (ctx Context) BroadcastTx(txBytes []byte) (res *sdk.TxResponse, err error)
|
||||
|
||||
// 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
|
||||
// precondition checks that failed. If a CometBFT error is detected, this
|
||||
// function returns the correct code back in TxResponse.
|
||||
//
|
||||
// TODO: Avoid brittle string matching in favor of error matching. This requires
|
||||
|
||||
Loading…
Reference in New Issue
Block a user