diff options
Diffstat (limited to 'core/headerchain.go')
-rw-r--r-- | core/headerchain.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/headerchain.go b/core/headerchain.go index a0550a428..046275933 100644 --- a/core/headerchain.go +++ b/core/headerchain.go @@ -359,7 +359,7 @@ func (hc *HeaderChain) GetBlockHashesFromHash(hash common.Hash, max uint64) []co break } chain = append(chain, next) - if header.Number.Cmp(common.Big0) == 0 { + if header.Number.Sign() == 0 { break } } |