aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state_object_test.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-06-27 22:56:45 +0800
committerzelig <viktor.tron@gmail.com>2014-06-27 22:56:45 +0800
commit79009ca074d77561c655b65254103b4070b74c69 (patch)
tree72c4a340800a216d788421b9a95da276a8b9579d /ethchain/state_object_test.go
parent423beddf574383ec58246938f738f08cd50f031a (diff)
downloaddexon-79009ca074d77561c655b65254103b4070b74c69.tar
dexon-79009ca074d77561c655b65254103b4070b74c69.tar.gz
dexon-79009ca074d77561c655b65254103b4070b74c69.tar.bz2
dexon-79009ca074d77561c655b65254103b4070b74c69.tar.lz
dexon-79009ca074d77561c655b65254103b4070b74c69.tar.xz
dexon-79009ca074d77561c655b65254103b4070b74c69.tar.zst
dexon-79009ca074d77561c655b65254103b4070b74c69.zip
transitional ethutil.ReadConfig fixes in ethchain tests (they still fail! FIXME :)
Diffstat (limited to 'ethchain/state_object_test.go')
-rw-r--r--ethchain/state_object_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethchain/state_object_test.go b/ethchain/state_object_test.go
index 91ed7c0dd..2588100d0 100644
--- a/ethchain/state_object_test.go
+++ b/ethchain/state_object_test.go
@@ -9,7 +9,7 @@ import (
)
func TestSync(t *testing.T) {
- ethutil.ReadConfig("", ethutil.LogStd, "")
+ ethutil.ReadConfig(".ethtest", "/tmp/ethtest", "", "ETH")
db, _ := ethdb.NewMemDatabase()
state := NewState(ethutil.NewTrie(db, ""))
@@ -28,7 +28,7 @@ func TestSync(t *testing.T) {
}
func TestObjectGet(t *testing.T) {
- ethutil.ReadConfig("", ethutil.LogStd, "")
+ ethutil.ReadConfig(".ethtest", "/tmp/ethtest", "", "ETH")
db, _ := ethdb.NewMemDatabase()
ethutil.Config.Db = db