Changed seeding

pull/84/head
obscuren 11 years ago
parent f59f515def
commit 0bf2d24cb0
  1. 1
      ethereal/ethereum.go
  2. 2
      ethereal/ui/ui_lib.go
  3. 4
      ethereum/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)

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

Loading…
Cancel
Save