aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-10 09:35:46 +0800
committerFelix Lange <fjl@twurst.com>2015-03-10 09:39:53 +0800
commit80985f97da8174576ee227909035a364af2fd6c9 (patch)
tree01af660397d161167903dba9183ac9f864e033ce /core
parente6118f2d7914fdc52c6ad86e48561f3bc1adaf61 (diff)
downloaddexon-80985f97da8174576ee227909035a364af2fd6c9.tar.gz
dexon-80985f97da8174576ee227909035a364af2fd6c9.tar.zst
dexon-80985f97da8174576ee227909035a364af2fd6c9.zip
cmd/evm, core, ethdb, state, tests/helper: remove ReadConfig calls
Diffstat (limited to 'core')
-rw-r--r--core/chain_manager_test.go2
-rw-r--r--core/helper_test.go2
2 files changed, 0 insertions, 4 deletions
diff --git a/core/chain_manager_test.go b/core/chain_manager_test.go
index e78c2e980..91822f9e2 100644
--- a/core/chain_manager_test.go
+++ b/core/chain_manager_test.go
@@ -12,14 +12,12 @@ import (
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/ethdb"
- "github.com/ethereum/go-ethereum/ethutil"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/rlp"
)
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
- ethutil.ReadConfig("/tmp/ethtest", "/tmp/ethtest", "ETH")
}
// Test fork of length N starting from block i
diff --git a/core/helper_test.go b/core/helper_test.go
index 473576e3f..36d9e70a8 100644
--- a/core/helper_test.go
+++ b/core/helper_test.go
@@ -62,8 +62,6 @@ func (tm *TestManager) Db() ethutil.Database {
}
func NewTestManager() *TestManager {
- ethutil.ReadConfig(".ethtest", "/tmp/ethtest", "ETH")
-
db, err := ethdb.NewMemDatabase()
if err != nil {
fmt.Println("Could not create mem-db, failing")