diff --git a/client/rpc/tx.go b/client/rpc/tx.go index 9bdce23bfbda..f5de0dfb1d43 100644 --- a/client/rpc/tx.go +++ b/client/rpc/tx.go @@ -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