aboutsummaryrefslogtreecommitdiffstats
path: root/blockpool/section.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-09 22:54:32 +0800
committerobscuren <geffobscura@gmail.com>2015-04-09 22:54:32 +0800
commit46898f1e554a87b88d722bcf0ef3bfb2c9974736 (patch)
tree569bdb123a071fc53f066c1f3b21bd381be12dc7 /blockpool/section.go
parent0636e17dbee3accf6291000f0e4f4e713a97a207 (diff)
parentbe25396340598bc385788793c4176932afa80db8 (diff)
downloadgo-tangerine-46898f1e554a87b88d722bcf0ef3bfb2c9974736.tar
go-tangerine-46898f1e554a87b88d722bcf0ef3bfb2c9974736.tar.gz
go-tangerine-46898f1e554a87b88d722bcf0ef3bfb2c9974736.tar.bz2
go-tangerine-46898f1e554a87b88d722bcf0ef3bfb2c9974736.tar.lz
go-tangerine-46898f1e554a87b88d722bcf0ef3bfb2c9974736.tar.xz
go-tangerine-46898f1e554a87b88d722bcf0ef3bfb2c9974736.tar.zst
go-tangerine-46898f1e554a87b88d722bcf0ef3bfb2c9974736.zip
Merge branch 'frontier/blockpool' of https://github.com/ethersphere/go-ethereum into ethersphere-frontier/blockpool
Diffstat (limited to 'blockpool/section.go')
-rw-r--r--blockpool/section.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/blockpool/section.go b/blockpool/section.go
index 49004d4ef..1ab543dc0 100644
--- a/blockpool/section.go
+++ b/blockpool/section.go
@@ -489,7 +489,7 @@ func (self *section) blockHashesRequest() {
// activate parent section with this peer
// but only if not during switch mode
plog.DebugDetailf("[%s] parent section [%s] activated\n", sectionhex(self), sectionhex(parentSection))
- self.bp.activateChain(parentSection, self.peer, nil)
+ self.bp.activateChain(parentSection, self.peer, self.peer.switchC, nil)
// if not root of chain, switch off
plog.DebugDetailf("[%s] parent found, hash requests deactivated (after %v total attempts)\n", sectionhex(self), self.blockHashesRequests)
self.blockHashesRequestTimer = nil