diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-19 21:31:14 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-19 21:31:14 +0800 |
commit | cf45b939a098c9421092226d5c76dbce34eb2dda (patch) | |
tree | 2a57c4880feff1f0ff98ec505998dbb1643db1b0 /vm/context.go | |
parent | d7ab716eea1d1892e3358b1dece6b0e2cd31fce8 (diff) | |
download | go-tangerine-cf45b939a098c9421092226d5c76dbce34eb2dda.tar go-tangerine-cf45b939a098c9421092226d5c76dbce34eb2dda.tar.gz go-tangerine-cf45b939a098c9421092226d5c76dbce34eb2dda.tar.bz2 go-tangerine-cf45b939a098c9421092226d5c76dbce34eb2dda.tar.lz go-tangerine-cf45b939a098c9421092226d5c76dbce34eb2dda.tar.xz go-tangerine-cf45b939a098c9421092226d5c76dbce34eb2dda.tar.zst go-tangerine-cf45b939a098c9421092226d5c76dbce34eb2dda.zip |
fixed tests
Diffstat (limited to 'vm/context.go')
-rw-r--r-- | vm/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |