mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
all: remove extra whitespace
This commit is contained in:
parent
98db98fb42
commit
beadd2b8f8
3 changed files with 0 additions and 3 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue