chore: fix spelling errors (#20674)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
This commit is contained in:
parent
7e848bca34
commit
32bdca3600
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user