Skip to content

Commit 62e6a82

Browse files
authored
fix: correct typos in Go doc comments for wasm utils and events (#2349)
* fix: unnecessary word * Update events.go
1 parent b2294ae commit 62e6a82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x/wasm/ioutils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var (
1717
wasmIdent = []byte("\x00\x61\x73\x6D")
1818
)
1919

20-
// IsGzip returns checks if the file contents are gzip compressed
20+
// IsGzip checks if the file contents are gzip compressed
2121
func IsGzip(input []byte) bool {
2222
return len(input) >= 3 && bytes.Equal(gzipIdent, input[0:3])
2323
}

x/wasm/keeper/events.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/CosmWasm/wasmd/x/wasm/types"
1414
)
1515

16-
// newWasmModuleEvent creates with wasm module event for interacting with the given contract. Adds custom attributes
16+
// newWasmModuleEvent creates a wasm module event for interacting with the given contract. Adds custom attributes
1717
// to this event.
1818
func newWasmModuleEvent(customAttributes []wasmvmtypes.EventAttribute, contractAddr sdk.AccAddress) (sdk.Events, error) {
1919
attrs, err := contractSDKEventAttributes(customAttributes, contractAddr)

0 commit comments

Comments
 (0)