diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-17 19:01:40 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-17 19:01:40 +0800 |
commit | ee7202fa00198abaa423a1483468ca979ac9f3f4 (patch) | |
tree | 0f332b84b73997aca73b4d508ab7e8ccf9687bcf /vm/context.go | |
parent | 65eee2006d649b2b4f4fef9332d339444bb479b1 (diff) | |
parent | 515d9432fcef8c574627049d437d6898b56c2829 (diff) | |
download | dexon-ee7202fa00198abaa423a1483468ca979ac9f3f4.tar dexon-ee7202fa00198abaa423a1483468ca979ac9f3f4.tar.gz dexon-ee7202fa00198abaa423a1483468ca979ac9f3f4.tar.bz2 dexon-ee7202fa00198abaa423a1483468ca979ac9f3f4.tar.lz dexon-ee7202fa00198abaa423a1483468ca979ac9f3f4.tar.xz dexon-ee7202fa00198abaa423a1483468ca979ac9f3f4.tar.zst dexon-ee7202fa00198abaa423a1483468ca979ac9f3f4.zip |
Merge remote-tracking branch 'ethereum/conversion' into conversion
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 } |