all: remove extra whitespace

This commit is contained in:
lightclient 2024-03-18 15:57:00 -06:00 committed by GitHub
parent 98db98fb42
commit beadd2b8f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 0 additions and 3 deletions

View file

@ -1284,7 +1284,6 @@ func (d *Downloader) processHeaders(origin uint64, td, ttd *big.Int, beaconMode
gotHeaders = false // Wait for batches of headers to process gotHeaders = false // Wait for batches of headers to process
timer = time.NewTimer(time.Second) timer = time.NewTimer(time.Second)
) )
defer timer.Stop() defer timer.Stop()
for { for {

View file

@ -544,7 +544,6 @@ func (s *Service) reportLatency(conn *connWrapper) error {
return err return err
} }
// Wait for the pong request to arrive back // Wait for the pong request to arrive back
timer := time.NewTimer(5 * time.Second) timer := time.NewTimer(5 * time.Second)
defer timer.Stop() defer timer.Stop()

View file

@ -70,7 +70,6 @@ func startStop(net *Network, quit chan struct{}, nodeCount int) {
tick = time.NewTicker(10 * time.Second) tick = time.NewTicker(10 * time.Second)
timer = time.NewTimer(3 * time.Second) timer = time.NewTimer(3 * time.Second)
) )
defer tick.Stop() defer tick.Stop()
defer timer.Stop() defer timer.Stop()