diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-17 18:19:23 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-17 18:19:23 +0800 |
commit | 515d9432fcef8c574627049d437d6898b56c2829 (patch) | |
tree | 40322c532a38b8f563d452bd75dab69729e55d92 /vm/context.go | |
parent | 8ce6a3647821706cf5e9bb1a9dc13f23c84f6585 (diff) | |
download | go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.tar go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.tar.gz go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.tar.bz2 go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.tar.lz go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.tar.xz go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.tar.zst go-tangerine-515d9432fcef8c574627049d437d6898b56c2829.zip |
converted vm
Diffstat (limited to 'vm/context.go')
-rw-r--r-- | vm/context.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/context.go b/vm/context.go index 93a0102d4..c846aad89 100644 --- a/vm/context.go +++ b/vm/context.go @@ -18,7 +18,7 @@ type Context struct { self ContextRef Code []byte - CodeAddr common.Address + CodeAddr *common.Address value, Gas, UsedGas, Price *big.Int @@ -108,7 +108,7 @@ func (self *Context) SetCode(code []byte) { self.Code = code } -func (self *Context) SetCallCode(addr common.Address, code []byte) { +func (self *Context) SetCallCode(addr *common.Address, code []byte) { self.Code = code self.CodeAddr = addr } |