Skip to content

Commit

Permalink
eth/backend: close miner on exit (instead of just stopping)
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman committed Dec 10, 2020
1 parent 817a3fb commit a3d258b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/backend.go
Expand Up @@ -540,7 +540,7 @@ func (s *Ethereum) Stop() error {
s.bloomIndexer.Close()
close(s.closeBloomHandler)
s.txPool.Stop()
s.miner.Stop()
s.miner.Close()
s.blockchain.Stop()
s.engine.Close()
s.chainDb.Close()
Expand Down

0 comments on commit a3d258b

Please sign in to comment.