Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eth/downloader: fix rare crash when parent header missing in db (#27945)
ReadSkeletonHeader can return nil if the header is missing, so we should not access fields on it. Note that calling .Hash() on a nil header is fine, so there is no need to actually check for nil. Co-authored-by: Martin Holst Swende <martin@swende.se>
- Loading branch information