good morning!!!!

Skip to content
Snippets Groups Projects
Commit ce4080fa authored by Viktor Trón's avatar Viktor Trón
Browse files

Merge branch 'develop' of github.com:ethereum/go-ethereum into feature/keys

parents cf7fcade 328ee9a3
Branches
Tags
No related merge requests found
install.sh 100644 → 100755
File mode changed from 100644 to 100755
...@@ -208,6 +208,10 @@ func StartMining(ethereum *eth.Ethereum) bool { ...@@ -208,6 +208,10 @@ func StartMining(ethereum *eth.Ethereum) bool {
miner = ethminer.NewDefaultMiner(addr, ethereum) miner = ethminer.NewDefaultMiner(addr, ethereum)
// Give it some time to connect with peers // Give it some time to connect with peers
time.Sleep(3 * time.Second) time.Sleep(3 * time.Second)
for !ethereum.IsUpToDate() == false {
time.Sleep(5 * time.Second)
}
logger.Infoln("Miner started") logger.Infoln("Miner started")
miner := ethminer.NewDefaultMiner(addr, ethereum) miner := ethminer.NewDefaultMiner(addr, ethereum)
miner.Start() miner.Start()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment