chore(x/tx): fix typo (#20738)

This commit is contained in:
Facundo Medica 2024-06-20 14:34:37 +02:00 committed by GitHub
parent ac77fc1745
commit cbef415646
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,7 @@ func (h *HandlerMap) DefaultMode() signingv1beta1.SignMode {
func (h *HandlerMap) GetSignBytes(ctx context.Context, signMode signingv1beta1.SignMode, signerData SignerData, txData TxData) ([]byte, error) {
handler, ok := h.signModeHandlers[signMode]
if !ok {
return nil, fmt.Errorf("unsuppored sign mode %s", signMode)
return nil, fmt.Errorf("unsupported sign mode %s", signMode)
}
return handler.GetSignBytes(ctx, signerData, txData)