diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-09 20:51:02 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-09 20:51:02 +0800 |
commit | 0bf2d24cb030ec53abedf483189ecbaa3c9676be (patch) | |
tree | 2d4899da5673de6919662430e83cf61353211259 | |
parent | f59f515defa5735c59b3bae8a44844678adf1a2d (diff) | |
download | go-tangerine-0bf2d24cb030ec53abedf483189ecbaa3c9676be.tar go-tangerine-0bf2d24cb030ec53abedf483189ecbaa3c9676be.tar.gz go-tangerine-0bf2d24cb030ec53abedf483189ecbaa3c9676be.tar.bz2 go-tangerine-0bf2d24cb030ec53abedf483189ecbaa3c9676be.tar.lz go-tangerine-0bf2d24cb030ec53abedf483189ecbaa3c9676be.tar.xz go-tangerine-0bf2d24cb030ec53abedf483189ecbaa3c9676be.tar.zst go-tangerine-0bf2d24cb030ec53abedf483189ecbaa3c9676be.zip |
Changed seeding
-rw-r--r-- | ethereal/ethereum.go | 1 | ||||
-rw-r--r-- | ethereal/ui/ui_lib.go | 2 | ||||
-rw-r--r-- | 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") |