aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ethereum.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-06-17 00:24:57 +0800
committerobscuren <geffobscura@gmail.com>2014-06-17 00:24:57 +0800
commit98335d2040bbd2b18a238b4ffa47e50507fffb31 (patch)
tree1fde3dfa00d0e784556ec625ef5b4906607d98aa /ethereal/ethereum.go
parentaa8a86f0a61286b3d0709316215ce6e9d3833f25 (diff)
parentc1220e87293e440f842095c5a601515c0c8f5cb0 (diff)
downloadgo-tangerine-98335d2040bbd2b18a238b4ffa47e50507fffb31.tar
go-tangerine-98335d2040bbd2b18a238b4ffa47e50507fffb31.tar.gz
go-tangerine-98335d2040bbd2b18a238b4ffa47e50507fffb31.tar.bz2
go-tangerine-98335d2040bbd2b18a238b4ffa47e50507fffb31.tar.lz
go-tangerine-98335d2040bbd2b18a238b4ffa47e50507fffb31.tar.xz
go-tangerine-98335d2040bbd2b18a238b4ffa47e50507fffb31.tar.zst
go-tangerine-98335d2040bbd2b18a238b4ffa47e50507fffb31.zip
Merge branch 'release/0.5.13'0.5.13
Diffstat (limited to 'ethereal/ethereum.go')
-rw-r--r--ethereal/ethereum.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/ethereal/ethereum.go b/ethereal/ethereum.go
index b6e1c681b..0db1fa4cd 100644
--- a/ethereal/ethereum.go
+++ b/ethereal/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/ethereal/ui"
"github.com/ethereum/go-ethereum/utils"
@@ -40,17 +39,15 @@ func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
- ethchain.InitFees()
-
g, err := globalconf.NewWithOptions(&globalconf.Options{
- Filename: path.Join(ethutil.ApplicationFolder(".ethereal"), "conf.ini"),
+ Filename: path.Join(ethutil.ApplicationFolder(Datadir), "conf.ini"),
})
if err != nil {
fmt.Println(err)
} else {
g.ParseAll()
}
- ethutil.ReadConfig(".ethereal", ethutil.LogFile|ethutil.LogStd, g, Identifier)
+ ethutil.ReadConfig(Datadir, ethutil.LogFile|ethutil.LogStd, g, Identifier)
// Instantiated a eth stack
ethereum, err := eth.New(eth.CapDefault, UseUPnP)