diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-20 05:45:03 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-20 05:45:03 +0800 |
commit | df5901fdc58565448629a9bfd5ccecc1c5a5b349 (patch) | |
tree | f4365a7c84c098867cb97b684589ee17cd4b9309 /vm/context.go | |
parent | 013427bde27579d50010e728d9b59be91a7fb285 (diff) | |
download | go-tangerine-df5901fdc58565448629a9bfd5ccecc1c5a5b349.tar go-tangerine-df5901fdc58565448629a9bfd5ccecc1c5a5b349.tar.gz go-tangerine-df5901fdc58565448629a9bfd5ccecc1c5a5b349.tar.bz2 go-tangerine-df5901fdc58565448629a9bfd5ccecc1c5a5b349.tar.lz go-tangerine-df5901fdc58565448629a9bfd5ccecc1c5a5b349.tar.xz go-tangerine-df5901fdc58565448629a9bfd5ccecc1c5a5b349.tar.zst go-tangerine-df5901fdc58565448629a9bfd5ccecc1c5a5b349.zip |
Removed more casts
Diffstat (limited to 'vm/context.go')
-rw-r--r-- | vm/context.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vm/context.go b/vm/context.go index ea70f2376..e73199b77 100644 --- a/vm/context.go +++ b/vm/context.go @@ -64,10 +64,6 @@ func (c *Context) GetRangeValue(x, size uint64) []byte { return common.RightPadBytes(c.Code[x:y], int(size)) } -func (c *Context) GetCode(x, size uint64) []byte { - return getData(c.Code, x, size) -} - func (c *Context) Return(ret []byte) []byte { // Return the remaining gas to the caller c.caller.ReturnGas(c.Gas, c.Price) |