further fix the rossetta test

pull/3990/head
Jacky Wang 3 years ago committed by Leo Chen
parent da863cffac
commit 37653320a4
No known key found for this signature in database
GPG Key ID: 9A0417092EBC5E96
  1. 2
      rosetta/services/network.go

@ -118,7 +118,7 @@ func (s *NetworkAPI) NetworkStatus(
} }
} }
targetInt := int64(targetHeight) targetInt := int64(targetHeight)
if targetHeight == math.MaxInt64 { if targetHeight == math.MaxUint64 {
targetInt = 0 targetInt = 0
} }
currentIndex := currentHeader.Number().Int64() currentIndex := currentHeader.Number().Int64()

Loading…
Cancel
Save