mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-10 21:11:20 +00:00
fix nil pointer in peer
This commit is contained in:
parent
a6fe31e1f2
commit
e25b57511d
@ -633,7 +633,7 @@ func (s *Ethereum) SetEtherbase(etherbase common.Address) {
|
||||
// is already running, this method adjust the number of threads allowed to use
|
||||
// and updates the minimum price required by the transaction pool.
|
||||
func (s *Ethereum) StartMining(mining *stagedsync.StagedSync, tmpdir string) error {
|
||||
if s.config.Miner.Enabled {
|
||||
if !s.config.Miner.Enabled {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user