From 20621e073562ee5d423b636fae8b6aa8e38275fa Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 24 May 2023 22:29:46 -0400 Subject: readme and cleanup --- vm/main.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'vm/main.go') diff --git a/vm/main.go b/vm/main.go index 61aeebb..688918a 100644 --- a/vm/main.go +++ b/vm/main.go @@ -21,6 +21,12 @@ func main() { vm := NewEvm(b) - vm.Start() + returndata := vm.Run() + + fmt.Printf("finished execution.\n") + + if (returndata != nil) { + fmt.Printf("callee returned: %v\n", returndata) + } } -- cgit v1.2.3