diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-31 21:43:14 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-31 21:43:14 +0800 |
commit | af8f5f0b69f1c359991d12c7708804fe8dd1f944 (patch) | |
tree | dd3d5bea8d57037a2d32fae86c4ba7fcc9161b16 /vm/environment.go | |
parent | 0ed1a8b50a9b9726cd57a2731d0405f6949c6188 (diff) | |
download | dexon-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar dexon-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar.gz dexon-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar.bz2 dexon-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar.lz dexon-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar.xz dexon-af8f5f0b69f1c359991d12c7708804fe8dd1f944.tar.zst dexon-af8f5f0b69f1c359991d12c7708804fe8dd1f944.zip |
ethstate => state
Diffstat (limited to 'vm/environment.go')
-rw-r--r-- | vm/environment.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vm/environment.go b/vm/environment.go index deb46b77f..dea86c66c 100644 --- a/vm/environment.go +++ b/vm/environment.go @@ -4,12 +4,12 @@ import ( "errors" "math/big" - "github.com/ethereum/go-ethereum/ethstate" "github.com/ethereum/go-ethereum/ethutil" + "github.com/ethereum/go-ethereum/state" ) type Environment interface { - State() *ethstate.State + State() *state.State Origin() []byte BlockNumber() *big.Int @@ -20,7 +20,7 @@ type Environment interface { BlockHash() []byte GasLimit() *big.Int Transfer(from, to Account, amount *big.Int) error - AddLog(ethstate.Log) + AddLog(state.Log) } type Object interface { |