aboutsummaryrefslogtreecommitdiffstats
path: root/vm/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'vm/context.go')
-rw-r--r--vm/context.go4
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
}