Remove some unused code.
This commit is contained in:
parent
b759bafa60
commit
0d7bff2444
1 changed files with 0 additions and 6 deletions
6
peer.go
6
peer.go
|
@ -703,12 +703,6 @@ func (p *peer) Start() error {
|
||||||
p.wg.Add(2)
|
p.wg.Add(2)
|
||||||
p.started = true
|
p.started = true
|
||||||
|
|
||||||
// If server is shutting down, don't even start watchdog
|
|
||||||
if p.server.shutdown {
|
|
||||||
log.Debug("[PEER] server is shutting down")
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue