chore: fix spelling errors (#20674)

Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
This commit is contained in:
Cosmos SDK
2024-06-14 13:05:00 +00:00
committed by GitHub
co-authored by github-merge-queue
parent 7e848bca34
commit 32bdca3600
+1 -1
View File
@@ -204,7 +204,7 @@ func parseHashFromInput(in []byte) ([]byte, error) {
// That outputs a sdk.TxResponse as either the json or yaml. As json, we can't unmarshal it back into that struct,
// though, because the height field ends up quoted which confuses json.Unmarshal (because it's for an int64 field).
// Try to find the txhash from json ouptut.
// Try to find the txhash from json output.
resultTx := make(map[string]json.RawMessage)
if err := json.Unmarshal(in, &resultTx); err == nil && len(resultTx["txhash"]) > 0 {
// input was JSON, return the hash