diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-06-17 23:25:23 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-06-18 20:56:08 +0800 |
commit | 5ec6ecc511dc861c0395335f06883bc9ac650e4d (patch) | |
tree | 27aa792a4df3c6d1291df4acfb25625371d74129 /eth/downloader/downloader.go | |
parent | a9ada0b5baa9c47f8673cb63707797cbd08f0d61 (diff) | |
download | dexon-5ec6ecc511dc861c0395335f06883bc9ac650e4d.tar dexon-5ec6ecc511dc861c0395335f06883bc9ac650e4d.tar.gz dexon-5ec6ecc511dc861c0395335f06883bc9ac650e4d.tar.bz2 dexon-5ec6ecc511dc861c0395335f06883bc9ac650e4d.tar.lz dexon-5ec6ecc511dc861c0395335f06883bc9ac650e4d.tar.xz dexon-5ec6ecc511dc861c0395335f06883bc9ac650e4d.tar.zst dexon-5ec6ecc511dc861c0395335f06883bc9ac650e4d.zip |
eth, eth/fetcher: move propagated block import into fetcher
Diffstat (limited to 'eth/downloader/downloader.go')
-rw-r--r-- | eth/downloader/downloader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 18e5f50e8..39976aae1 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -99,7 +99,7 @@ type Downloader struct { hasBlock hashCheckFn // Checks if a block is present in the chain getBlock blockRetrievalFn // Retrieves a block from the chain insertChain chainInsertFn // Injects a batch of blocks into the chain - dropPeer peerDropFn // Retrieved the TD of our own chain + dropPeer peerDropFn // Drops a peer for misbehaving // Status synchroniseMock func(id string, hash common.Hash) error // Replacement for synchronise during testing |