Skip to content

Commit

Permalink
docs: Spelling error. (#22872)
Browse files Browse the repository at this point in the history
Signed-off-by: RiceChuan <[email protected]>
  • Loading branch information
RiceChuan authored Dec 15, 2024
1 parent 6152260 commit a7372d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/tx/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,10 @@ func checkMultipleSigners(tx authsigning.Tx) error {
return nil
}

// Sign signs a given tx with a named key. The bytes signed over are canconical.
// Sign signs a given tx with a named key. The bytes signed over are canonical.
// The resulting signature will be added to the transaction builder overwriting the previous
// ones if overwrite=true (otherwise, the signature will be appended).
// Signing a transaction with mutltiple signers in the DIRECT mode is not supported and will
// Signing a transaction with multiple signers in the DIRECT mode is not supported and will
// return an error.
// An error is returned upon failure.
func Sign(ctx client.Context, txf Factory, name string, txBuilder client.TxBuilder, overwriteSig bool) error {
Expand Down

0 comments on commit a7372d9

Please sign in to comment.