diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-17 19:16:21 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-17 19:16:21 +0800 |
commit | 17c5ba2b6bfaaeab423f96523b9da13a8fb3febd (patch) | |
tree | 62d690139590a6cd7eebb95f1255a858141436f1 /core/vm_env.go | |
parent | ee7202fa00198abaa423a1483468ca979ac9f3f4 (diff) | |
download | dexon-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.go | 2 |
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() } |