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 /ethstate/state_test.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 'ethstate/state_test.go')
-rw-r--r-- | ethstate/state_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ethstate/state_test.go b/ethstate/state_test.go index cd13e80bc..00c9de9d6 100644 --- a/ethstate/state_test.go +++ b/ethstate/state_test.go @@ -1,10 +1,11 @@ package ethstate import ( + "testing" + "github.com/ethereum/eth-go/ethdb" "github.com/ethereum/eth-go/ethtrie" "github.com/ethereum/eth-go/ethutil" - "testing" ) var ZeroHash256 = make([]byte, 32) @@ -14,7 +15,7 @@ func TestSnapshot(t *testing.T) { ethutil.ReadConfig(".ethtest", "/tmp/ethtest", "") ethutil.Config.Db = db - state := NewState(ethtrie.NewTrie(db, "")) + state := New(ethtrie.New(db, "")) stateObject := state.GetOrNewStateObject([]byte("aa")) |