More State constructors

This commit is contained in:
Ian Gulliver
2021-11-16 15:36:34 -10:00
parent 69e69acc6f
commit f2d552e076
2 changed files with 11 additions and 5 deletions

View File

@@ -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)
}