Fix an issue where we don't have the rpc so we dont have to close it

poc8
Maran 11 years ago
parent 66af749023
commit e18b96b486
  1. 4
      ethereum.go

@ -339,7 +339,9 @@ func (s *Ethereum) Stop() {
close(s.quit)
s.RpcServer.Stop()
if s.RpcServer != nil {
s.RpcServer.Stop()
}
s.txPool.Stop()
s.stateManager.Stop()

Loading…
Cancel
Save