mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2025-01-20 08:41:11 +00:00
649deb69f3
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>