docs: Spelling error. (#22872)

Signed-off-by: RiceChuan <lc582041246@gmail.com>
This commit is contained in:
RiceChuan
2024-12-15 23:50:19 +00:00
committed by GitHub
parent 615226093e
commit a7372d932e
+2 -2
View File
@@ -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 {