aboutsummaryrefslogtreecommitdiffstats
path: root/vm/context.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-20 21:01:35 +0800
committerFelix Lange <fjl@twurst.com>2015-03-20 21:01:35 +0800
commit28ddc16a9b5779b6b31036e8248ed8457de7b443 (patch)
tree7508db500151bdaf0ebed726286f823e67993103 /vm/context.go
parentc161d73d429ef421cdb9c75b743c16d72aa8a89a (diff)
parent01ff0b3176e6d83dcc5e6716f04301de71e3fc9e (diff)
downloaddexon-28ddc16a9b5779b6b31036e8248ed8457de7b443.tar
dexon-28ddc16a9b5779b6b31036e8248ed8457de7b443.tar.gz
dexon-28ddc16a9b5779b6b31036e8248ed8457de7b443.tar.bz2
dexon-28ddc16a9b5779b6b31036e8248ed8457de7b443.tar.lz
dexon-28ddc16a9b5779b6b31036e8248ed8457de7b443.tar.xz
dexon-28ddc16a9b5779b6b31036e8248ed8457de7b443.tar.zst
dexon-28ddc16a9b5779b6b31036e8248ed8457de7b443.zip
Merge remote-tracking branch 'ethereum/conversion' into conversion
Diffstat (limited to 'vm/context.go')
-rw-r--r--vm/context.go4
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)