Removed more casts

This commit is contained in:
obscuren
2015-03-19 22:45:03 +01:00
parent 013427bde2
commit df5901fdc5
5 changed files with 14 additions and 24 deletions

View File

@@ -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)