diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-06-12 18:35:29 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-06-15 14:22:37 +0800 |
commit | fc7abd98865f3bdc6cc36258026db98a649cd577 (patch) | |
tree | 0bca7e6e40445df3f21304e84b6df4dd5d3e7bf5 /eth/handler.go | |
parent | 0fc71877a7d7a46f35147f753cba0de7b937c77a (diff) | |
download | go-tangerine-fc7abd98865f3bdc6cc36258026db98a649cd577.tar go-tangerine-fc7abd98865f3bdc6cc36258026db98a649cd577.tar.gz go-tangerine-fc7abd98865f3bdc6cc36258026db98a649cd577.tar.bz2 go-tangerine-fc7abd98865f3bdc6cc36258026db98a649cd577.tar.lz go-tangerine-fc7abd98865f3bdc6cc36258026db98a649cd577.tar.xz go-tangerine-fc7abd98865f3bdc6cc36258026db98a649cd577.tar.zst go-tangerine-fc7abd98865f3bdc6cc36258026db98a649cd577.zip |
eth, eth/downloader: move block processing into the downlaoder
Diffstat (limited to 'eth/handler.go')
-rw-r--r-- | eth/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/handler.go b/eth/handler.go index ac7fb8fcf..ec4f2d53a 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -80,7 +80,7 @@ func NewProtocolManager(protocolVersion, networkId int, mux *event.TypeMux, txpo txsyncCh: make(chan *txsync), quitSync: make(chan struct{}), } - manager.downloader = downloader.New(manager.eventMux, manager.chainman.HasBlock, manager.chainman.GetBlock, manager.removePeer) + manager.downloader = downloader.New(manager.eventMux, manager.chainman.HasBlock, manager.chainman.GetBlock, manager.chainman.InsertChain, manager.removePeer) manager.SubProtocol = p2p.Protocol{ Name: "eth", Version: uint(protocolVersion), |