aboutsummaryrefslogtreecommitdiffstats
path: root/vm/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'vm/context.go')
-rw-r--r--vm/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/context.go b/vm/context.go
index c846aad89..ea70f2376 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 {