diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-09 01:09:36 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-09 01:09:36 +0800 |
commit | 5a0bae1dae831818740a2f20ca308c4176f5201d (patch) | |
tree | 33fc52996530ebb7c467880975554a91d94471c6 /ethchain/closure.go | |
parent | e8fb965ccbb65807c1f462e8f2ee82508a822b58 (diff) | |
download | go-tangerine-5a0bae1dae831818740a2f20ca308c4176f5201d.tar go-tangerine-5a0bae1dae831818740a2f20ca308c4176f5201d.tar.gz go-tangerine-5a0bae1dae831818740a2f20ca308c4176f5201d.tar.bz2 go-tangerine-5a0bae1dae831818740a2f20ca308c4176f5201d.tar.lz go-tangerine-5a0bae1dae831818740a2f20ca308c4176f5201d.tar.xz go-tangerine-5a0bae1dae831818740a2f20ca308c4176f5201d.tar.zst go-tangerine-5a0bae1dae831818740a2f20ca308c4176f5201d.zip |
Auto update state changes notifications
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 0f1e386ae..59194e4e8 100644 --- a/ethchain/closure.go +++ b/ethchain/closure.go @@ -11,7 +11,7 @@ type ClosureRef interface { ReturnGas(*big.Int, *big.Int, *State) Address() []byte GetMem(*big.Int) *ethutil.Value - SetMem(*big.Int, *ethutil.Value) + SetStore(*big.Int, *ethutil.Value) N() *big.Int } @@ -64,8 +64,8 @@ func (c *Closure) Gets(x, y *big.Int) *ethutil.Value { return ethutil.NewValue(partial) } -func (c *Closure) SetMem(x *big.Int, val *ethutil.Value) { - c.object.SetMem(x, val) +func (c *Closure) SetStorage(x *big.Int, val *ethutil.Value) { + c.object.SetStorage(x, val) } func (c *Closure) Address() []byte { |