Is this based on an old version of this code? There were some logs here, and a check if `blocksToDownload` wasn't already set (since `onChainDownloadStarted` might be called more than once), etc.