aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state_transition.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-04 16:38:18 +0800
committerobscuren <geffobscura@gmail.com>2014-08-04 16:38:18 +0800
commit3debeb7236d2c8474fa9049cc91dc26bf1040b3f (patch)
tree928b5ff8486ea485a3efae8cc69adaf54af9c87e /ethchain/state_transition.go
parent2e7cf835222274a311302c33498cf83bb2593b7a (diff)
downloaddexon-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.go2
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
}