diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-02 23:14:12 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-02 23:14:12 +0800 |
commit | 4dc7ee90879d7146c9e5004c04992c90ad78f632 (patch) | |
tree | 7521046c38bb2e7c69b9813b669c87a8a55d4641 /vm/environment.go | |
parent | e2d1d832efe0623539c9d37ca8aee17d44e47067 (diff) | |
download | go-tangerine-4dc7ee90879d7146c9e5004c04992c90ad78f632.tar go-tangerine-4dc7ee90879d7146c9e5004c04992c90ad78f632.tar.gz go-tangerine-4dc7ee90879d7146c9e5004c04992c90ad78f632.tar.bz2 go-tangerine-4dc7ee90879d7146c9e5004c04992c90ad78f632.tar.lz go-tangerine-4dc7ee90879d7146c9e5004c04992c90ad78f632.tar.xz go-tangerine-4dc7ee90879d7146c9e5004c04992c90ad78f632.tar.zst go-tangerine-4dc7ee90879d7146c9e5004c04992c90ad78f632.zip |
Closure => Context
Diffstat (limited to 'vm/environment.go')
-rw-r--r-- | vm/environment.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vm/environment.go b/vm/environment.go index 969bc5e43..01bbd56ce 100644 --- a/vm/environment.go +++ b/vm/environment.go @@ -26,9 +26,9 @@ type Environment interface { Depth() int SetDepth(i int) - Call(me ClosureRef, addr, data []byte, gas, price, value *big.Int) ([]byte, error) - CallCode(me ClosureRef, addr, data []byte, gas, price, value *big.Int) ([]byte, error) - Create(me ClosureRef, addr, data []byte, gas, price, value *big.Int) ([]byte, error, ClosureRef) + Call(me ContextRef, addr, data []byte, gas, price, value *big.Int) ([]byte, error) + CallCode(me ContextRef, addr, data []byte, gas, price, value *big.Int) ([]byte, error) + Create(me ContextRef, addr, data []byte, gas, price, value *big.Int) ([]byte, error, ContextRef) } type Object interface { |