Skip to content

Commit 5b8df52

Browse files
committed
remove duplicate check
1 parent 2d6da67 commit 5b8df52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/types/staticct/staticct.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func UnmarshalTimestamp(raw []byte) (uint64, error) {
172172
s := cryptobyte.String(raw)
173173
var t uint64
174174

175-
if !s.ReadUint64(&t) || t > math.MaxInt64 {
175+
if !s.ReadUint64(&t) {
176176
return 0, fmt.Errorf("invalid data tile: timestamp can't be extracted")
177177
}
178178
if t > math.MaxInt64 {

0 commit comments

Comments
 (0)