eth: adapted to new synchronous api of downloader's AddBlock
This commit is contained in:
@ -173,8 +173,6 @@ out:
|
||||
select {
|
||||
case sync := <-d.syncCh:
|
||||
var peer *peer = sync.peer
|
||||
d.activePeer = peer.id
|
||||
|
||||
err := d.getFromPeer(peer, sync.hash, sync.ignoreInitial)
|
||||
if err != nil {
|
||||
break
|
||||
|
Reference in New Issue
Block a user