diff --git a/ethereal/ethereum.go b/ethereal/ethereum.go index f3240adecd..8b8889e373 100644 --- a/ethereal/ethereum.go +++ b/ethereal/ethereum.go @@ -42,7 +42,6 @@ func main() { ethchain.InitFees() ethutil.ReadConfig(DataDir) - ethutil.Config.Seed = UseSeed // Instantiated a eth stack ethereum, err := eth.New(eth.CapDefault, UseUPnP) diff --git a/ethereal/ui/ui_lib.go b/ethereal/ui/ui_lib.go index 0e7992b4a5..7fe610c6ac 100644 --- a/ethereal/ui/ui_lib.go +++ b/ethereal/ui/ui_lib.go @@ -88,7 +88,7 @@ func (ui *UiLib) Muted(content string) { func (ui *UiLib) Connect(button qml.Object) { if !ui.connected { - ui.eth.Start() + ui.eth.Start(true) ui.connected = true button.Set("enabled", false) } diff --git a/ethereum/ethereum.go b/ethereum/ethereum.go index 8719f3e87c..2f05bf2a17 100644 --- a/ethereum/ethereum.go +++ b/ethereum/ethereum.go @@ -73,7 +73,6 @@ func main() { }*/ ethchain.InitFees() - ethutil.Config.Seed = UseSeed // Instantiated a eth stack ethereum, err := eth.New(eth.CapDefault, UseUPnP) @@ -139,7 +138,8 @@ func main() { } RegisterInterrupts(ethereum) - ethereum.Start() + + ethereum.Start(UseSeed) if StartMining { logger.Infoln("Miner started")