diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-04 16:42:40 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-04 16:42:40 +0800 |
commit | 03ce15df4c7ef51d4373233ab5c3766282b31771 (patch) | |
tree | 8e2487308508223b47b9a91a6eaa53e657a89312 /ethchain/state_transition.go | |
parent | 3debeb7236d2c8474fa9049cc91dc26bf1040b3f (diff) | |
download | go-tangerine-03ce15df4c7ef51d4373233ab5c3766282b31771.tar go-tangerine-03ce15df4c7ef51d4373233ab5c3766282b31771.tar.gz go-tangerine-03ce15df4c7ef51d4373233ab5c3766282b31771.tar.bz2 go-tangerine-03ce15df4c7ef51d4373233ab5c3766282b31771.tar.lz go-tangerine-03ce15df4c7ef51d4373233ab5c3766282b31771.tar.xz go-tangerine-03ce15df4c7ef51d4373233ab5c3766282b31771.tar.zst go-tangerine-03ce15df4c7ef51d4373233ab5c3766282b31771.zip |
ethstate.NewState => ethstate.New
Diffstat (limited to 'ethchain/state_transition.go')
-rw-r--r-- | ethchain/state_transition.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/state_transition.go b/ethchain/state_transition.go index 8f1561c00..dfcbfcc04 100644 --- a/ethchain/state_transition.go +++ b/ethchain/state_transition.go @@ -278,7 +278,7 @@ func MakeContract(tx *Transaction, state *ethstate.State) *ethstate.StateObject contract := state.NewStateObject(addr) contract.InitCode = tx.Data - contract.State = ethstate.NewState(ethtrie.New(ethutil.Config.Db, "")) + contract.State = ethstate.New(ethtrie.New(ethutil.Config.Db, "")) return contract } |