Added a execBlock method which replays the given block
This commit is contained in:
@ -38,9 +38,11 @@ func DoMining(ethereum *eth.Ethereum) {
|
||||
// Give it some time to connect with peers
|
||||
time.Sleep(3 * time.Second)
|
||||
|
||||
for ethereum.IsUpToDate() == false {
|
||||
time.Sleep(5 * time.Second)
|
||||
}
|
||||
/*
|
||||
for ethereum.IsUpToDate() == false {
|
||||
time.Sleep(5 * time.Second)
|
||||
}
|
||||
*/
|
||||
|
||||
ethutil.Config.Log.Infoln("Miner started")
|
||||
|
||||
|
Reference in New Issue
Block a user