Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions core/vm/program/program.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ type Program struct {

// New creates a new Program
func New() *Program {
return &Program{
code: make([]byte, 0),
}
return &Program{}
}

// add adds the op to the code.
Expand Down