remove BaseService.OnStart

This commit is contained in:
Ethan Buchman
2017-03-28 12:09:11 -04:00
parent 85e83934a1
commit 4fd1471f11
7 changed files with 0 additions and 9 deletions

View File

@ -63,7 +63,6 @@ func NewBlockPool(start int, requestsCh chan<- BlockRequest, timeoutsCh chan<- s
}
func (pool *BlockPool) OnStart() error {
pool.BaseService.OnStart()
go pool.makeRequestersRoutine()
pool.startTime = time.Now()
return nil
@ -409,7 +408,6 @@ func newBPRequester(pool *BlockPool, height int) *bpRequester {
}
func (bpr *bpRequester) OnStart() error {
bpr.BaseService.OnStart()
go bpr.requestRoutine()
return nil
}