mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
eth/backend: fix test
This commit is contained in:
parent
24d73042b3
commit
8687c35e9d
1 changed files with 4 additions and 0 deletions
|
|
@ -440,6 +440,10 @@ func (s *Ethereum) StartMining() error {
|
||||||
}
|
}
|
||||||
cli.Authorize(eb, wallet.SignData)
|
cli.Authorize(eb, wallet.SignData)
|
||||||
}
|
}
|
||||||
|
// If mining is started, we can disable the transaction rejection mechanism
|
||||||
|
// introduced to speed sync times.
|
||||||
|
s.handler.enableSyncedFeatures()
|
||||||
|
|
||||||
go s.miner.Start()
|
go s.miner.Start()
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue