From cf45b939a098c9421092226d5c76dbce34eb2dda Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 19 Mar 2015 14:31:14 +0100 Subject: fixed tests --- vm/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/context.go') diff --git a/vm/context.go b/vm/context.go index 6edde0824..1c2f665a4 100644 --- a/vm/context.go +++ b/vm/context.go @@ -65,7 +65,7 @@ func (c *Context) GetRangeValue(x, size uint64) []byte { } func (c *Context) GetCode(x, size uint64) []byte { - return getCode(c.Code, x, size) + return getData(c.Code, x, size) } func (c *Context) Return(ret []byte) []byte { -- cgit v1.2.3