Changed seeding

This commit is contained in:
obscuren 2014-05-09 14:51:02 +02:00
parent f59f515def
commit 0bf2d24cb0
3 changed files with 3 additions and 4 deletions

@ -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)

@ -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)
}

@ -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")