Commit 0bf2d24c authored by obscuren's avatar obscuren

Changed seeding

parent f59f515d
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment