diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-19 00:55:50 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-19 00:57:59 +0800 |
commit | 0d536734fe10e62dce86db1a6128b383ef66921d (patch) | |
tree | 1254ba614e724ee04df3035515e2597d70f6f26c /eth/downloader/downloader.go | |
parent | c2c24b3bb419a8ffffb58ec25788b951bef779f9 (diff) | |
download | go-tangerine-0d536734fe10e62dce86db1a6128b383ef66921d.tar.gz go-tangerine-0d536734fe10e62dce86db1a6128b383ef66921d.tar.zst go-tangerine-0d536734fe10e62dce86db1a6128b383ef66921d.zip |
eth: adapted to new synchronous api of downloader's AddBlock
Diffstat (limited to 'eth/downloader/downloader.go')
-rw-r--r-- | eth/downloader/downloader.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 810031c79..6dce40b04 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -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 |