From 37653320a48adb7d95dd1afbda104e6055a3278b Mon Sep 17 00:00:00 2001 From: Jacky Wang Date: Sun, 9 Jan 2022 21:52:32 -0800 Subject: [PATCH] further fix the rossetta test --- rosetta/services/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()