diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-04 16:38:18 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-04 16:38:18 +0800 |
commit | 3debeb7236d2c8474fa9049cc91dc26bf1040b3f (patch) | |
tree | 928b5ff8486ea485a3efae8cc69adaf54af9c87e /ethchain/state_transition.go | |
parent | 2e7cf835222274a311302c33498cf83bb2593b7a (diff) | |
download | dexon-3debeb7236d2c8474fa9049cc91dc26bf1040b3f.tar.gz dexon-3debeb7236d2c8474fa9049cc91dc26bf1040b3f.tar.zst dexon-3debeb7236d2c8474fa9049cc91dc26bf1040b3f.zip |
ethtrie.NewTrie => ethtrie.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 02a8e0e82..8f1561c00 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.NewTrie(ethutil.Config.Db, "")) + contract.State = ethstate.NewState(ethtrie.New(ethutil.Config.Db, "")) return contract } |