diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-02 05:59:18 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-02 05:59:18 +0800 |
commit | 00d3935aac3f5d50bae56650c45e49a8b8705099 (patch) | |
tree | da01968d729f41fa7f4470c2a4323b2dd422304b /ethchain/closure.go | |
parent | bb2433ca1a953e610396707a67ca5eb73574e81f (diff) | |
download | go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.tar go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.tar.gz go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.tar.bz2 go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.tar.lz go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.tar.xz go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.tar.zst go-tangerine-00d3935aac3f5d50bae56650c45e49a8b8705099.zip |
Removed old method
Diffstat (limited to 'ethchain/closure.go')
-rw-r--r-- | ethchain/closure.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ethchain/closure.go b/ethchain/closure.go index 32b297e90..966e8254a 100644 --- a/ethchain/closure.go +++ b/ethchain/closure.go @@ -10,7 +10,7 @@ import ( type ClosureRef interface { ReturnGas(*big.Int, *big.Int, *State) Address() []byte - GetMem(*big.Int) *ethutil.Value + GetStorage(*big.Int) *ethutil.Value SetStorage(*big.Int, *ethutil.Value) N() *big.Int } @@ -43,8 +43,8 @@ func NewClosure(caller ClosureRef, object *StateObject, script []byte, state *St } // Retuns the x element in data slice -func (c *Closure) GetMem(x *big.Int) *ethutil.Value { - m := c.object.GetMem(x) +func (c *Closure) GetStorage(x *big.Int) *ethutil.Value { + m := c.object.GetStorage(x) if m == nil { return ethutil.EmptyValue() } |