diff options
Diffstat (limited to 'blockpool/section.go')
-rw-r--r-- | blockpool/section.go | 2 |
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 |