aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/ethereum.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereum/ethereum.go')
-rw-r--r--ethereum/ethereum.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/ethereum/ethereum.go b/ethereum/ethereum.go
index 56ea46122..8812e0a60 100644
--- a/ethereum/ethereum.go
+++ b/ethereum/ethereum.go
@@ -3,7 +3,6 @@ package main
import (
"fmt"
"github.com/ethereum/eth-go"
- "github.com/ethereum/eth-go/ethchain"
"github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/go-ethereum/utils"
"github.com/rakyll/globalconf"
@@ -62,14 +61,14 @@ func main() {
}
g, err := globalconf.NewWithOptions(&globalconf.Options{
- Filename: path.Join(ethutil.ApplicationFolder(".ethereum"), "conf.ini"),
+ Filename: path.Join(ethutil.ApplicationFolder(Datadir), "conf.ini"),
})
if err != nil {
fmt.Println(err)
} else {
g.ParseAll()
}
- ethutil.ReadConfig(".ethereum", lt, g, Identifier)
+ ethutil.ReadConfig(Datadir, lt, g, Identifier)
logger := ethutil.Config.Log
@@ -86,8 +85,6 @@ func main() {
logSys = log.New(os.Stdout, "", flags)
}
- ethchain.InitFees()
-
// Instantiated a eth stack
ethereum, err := eth.New(eth.CapDefault, UseUPnP)
if err != nil {