Changed seeding
This commit is contained in:
parent
f59f515def
commit
0bf2d24cb0
@ -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…
Reference in New Issue
Block a user