aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm_env.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-17 19:16:21 +0800
committerFelix Lange <fjl@twurst.com>2015-03-17 19:16:21 +0800
commit17c5ba2b6bfaaeab423f96523b9da13a8fb3febd (patch)
tree62d690139590a6cd7eebb95f1255a858141436f1 /core/vm_env.go
parentee7202fa00198abaa423a1483468ca979ac9f3f4 (diff)
downloaddexon-17c5ba2b6bfaaeab423f96523b9da13a8fb3febd.tar.gz
dexon-17c5ba2b6bfaaeab423f96523b9da13a8fb3febd.tar.zst
dexon-17c5ba2b6bfaaeab423f96523b9da13a8fb3febd.zip
core: actually convert transaction pool
Diffstat (limited to 'core/vm_env.go')
-rw-r--r--core/vm_env.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm_env.go b/core/vm_env.go
index fb4253f5b..1ddbd5e5e 100644
--- a/core/vm_env.go
+++ b/core/vm_env.go
@@ -28,7 +28,7 @@ func NewEnv(state *state.StateDB, chain *ChainManager, msg Message, block *types
}
}
-func (self *VMEnv) Origin() common.Address { return self.msg.From() }
+func (self *VMEnv) Origin() common.Address { f, _ := self.msg.From(); return f }
func (self *VMEnv) BlockNumber() *big.Int { return self.block.Number() }
func (self *VMEnv) Coinbase() common.Address { return self.block.Coinbase() }
func (self *VMEnv) Time() int64 { return self.block.Time() }