diff options
Diffstat (limited to 'les')
-rw-r--r-- | les/api_backend.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/les/api_backend.go b/les/api_backend.go index 264b381f5..006240369 100644 --- a/les/api_backend.go +++ b/les/api_backend.go @@ -50,6 +50,7 @@ func (b *LesApiBackend) CurrentBlock() *types.Block { } func (b *LesApiBackend) SetHead(number uint64) { + b.eth.protocolManager.downloader.Cancel() b.eth.blockchain.SetHead(number) } |