Skip to content

Commit

Permalink
chore: lint unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hacheigriega committed Aug 27, 2024
1 parent 60d34f1 commit 9f2a014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/wasm-storage/types/wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func validateWasmSize(s []byte) error {

// NewDataRequestWasm constructs a new DataRequestWasm object given
// bytecode. It panics if it fails to compute hash of bytecode.
func NewDataRequestWasm(bytecode []byte, addedAt time.Time, _, ttl int64) DataRequestWasm {
func NewDataRequestWasm(bytecode []byte, addedAt time.Time, _, _ int64) DataRequestWasm {
hash := crypto.Keccak256(bytecode)
if hash == nil {
panic("failed to compute hash")
Expand Down

0 comments on commit 9f2a014

Please sign in to comment.