diff --git a/rosetta/services/network.go b/rosetta/services/network.go index 15faf490f..06e9d8e68 100644 --- a/rosetta/services/network.go +++ b/rosetta/services/network.go @@ -118,7 +118,7 @@ func (s *NetworkAPI) NetworkStatus( } } targetInt := int64(targetHeight) - if targetHeight == math.MaxInt64 { + if targetHeight == math.MaxUint64 { targetInt = 0 } currentIndex := currentHeader.Number().Int64()