Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
iFrostizz committed Apr 29, 2024
1 parent a8a4f26 commit f035e13
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion x/programs/cmd/simulator/cmd/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func (c *runCmd) verifyProgramIDStr(idStr string) (string, error) {
// myId, err := ids.FromString(idStr)
if err == nil {
return idStr, nil
//return myId, nil
// return myId, nil

}

Expand Down
1 change: 0 additions & 1 deletion x/programs/cmd/simulator/cmd/program.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ func programExecuteFunc(
) (ids.ID, []int64, uint64, error) {
// simulate create program transaction
programTxID, err := generateRandomID()

if err != nil {
return ids.Empty, nil, 0, err
}
Expand Down
1 change: 0 additions & 1 deletion x/programs/examples/imports/program/program.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,5 @@ func getProgramWasmBytes(log logging.Logger, db state.Immutable, idBytes []byte)
return nil, err
}


return bytes, nil
}
2 changes: 1 addition & 1 deletion x/programs/examples/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

const (
programPrefix = 0x0
programPrefix = 0x0
ProgramChunks uint16 = 1
)

Expand Down

0 comments on commit f035e13

Please sign in to comment.