We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e848bc commit 32bdca3Copy full SHA for 32bdca3
1 file changed
client/rpc/tx.go
@@ -204,7 +204,7 @@ func parseHashFromInput(in []byte) ([]byte, error) {
204
// That outputs a sdk.TxResponse as either the json or yaml. As json, we can't unmarshal it back into that struct,
205
// though, because the height field ends up quoted which confuses json.Unmarshal (because it's for an int64 field).
206
207
- // Try to find the txhash from json ouptut.
+ // Try to find the txhash from json output.
208
resultTx := make(map[string]json.RawMessage)
209
if err := json.Unmarshal(in, &resultTx); err == nil && len(resultTx["txhash"]) > 0 {
210
// input was JSON, return the hash
0 commit comments