From 25f24b3a56f827fb5b36a4ec545796ce1f2b5f9d Mon Sep 17 00:00:00 2001 From: RiceChuan Date: Sun, 15 Dec 2024 22:27:36 +0800 Subject: [PATCH] docs: Spelling error. Signed-off-by: RiceChuan --- client/tx/tx.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/tx/tx.go b/client/tx/tx.go index 4aa34b0a931c..8f3c7bcd229c 100644 --- a/client/tx/tx.go +++ b/client/tx/tx.go @@ -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 {