Skip to content

Commit 32bdca3

Browse files
Cosmos SDKgithub-merge-queue[bot]
andauthored
chore: fix spelling errors (#20674)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
1 parent 7e848bc commit 32bdca3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/rpc/tx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func parseHashFromInput(in []byte) ([]byte, error) {
204204
// That outputs a sdk.TxResponse as either the json or yaml. As json, we can't unmarshal it back into that struct,
205205
// though, because the height field ends up quoted which confuses json.Unmarshal (because it's for an int64 field).
206206

207-
// Try to find the txhash from json ouptut.
207+
// Try to find the txhash from json output.
208208
resultTx := make(map[string]json.RawMessage)
209209
if err := json.Unmarshal(in, &resultTx); err == nil && len(resultTx["txhash"]) > 0 {
210210
// input was JSON, return the hash

0 commit comments

Comments
 (0)