mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
eth/downloader.go: Removed deprecated select
This commit is contained in:
parent
6d43b167c0
commit
46496d603e
1 changed files with 0 additions and 3 deletions
|
|
@ -317,9 +317,6 @@ func (d *Downloader) Synchronise(id string, head common.Hash, td *big.Int, mode
|
|||
err := d.synchronise(id, head, td, mode)
|
||||
switch err {
|
||||
case nil:
|
||||
select {
|
||||
default:
|
||||
}
|
||||
case errBusy:
|
||||
|
||||
case errTimeout, errBadPeer, errStallingPeer,
|
||||
|
|
|
|||
Loading…
Reference in a new issue