More State constructors
This commit is contained in:
@@ -30,7 +30,7 @@ func TestFirst(t *testing.T) {
|
||||
functionByteCode = append(functionByteCode, byteCode)
|
||||
}
|
||||
|
||||
state, err := NewState(functionByteCode)
|
||||
state, err := NewStateFromByteCode(functionByteCode)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user