From 0bf2d24cb030ec53abedf483189ecbaa3c9676be Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 9 May 2014 14:51:02 +0200 Subject: Changed seeding --- ethereal/ethereum.go | 1 - ethereal/ui/ui_lib.go | 2 +- ethereum/ethereum.go | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ethereal/ethereum.go b/ethereal/ethereum.go index f3240adec..8b8889e37 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 0e7992b4a..7fe610c6a 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 8719f3e87..2f05bf2a1 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") -- cgit