fix: invalid conversion

This commit is contained in:
Richard Ramos 2021-11-10 10:08:18 -04:00
parent e219efeaae
commit c0fc605eeb
No known key found for this signature in database
GPG Key ID: 80D4B01265FDFE8F

View File

@ -41,7 +41,7 @@ func StringToContentTopic(s string) (ContentTopic, error) {
return ContentTopic{}, ErrInvalidFormat
}
vNum, err := strconv.ParseUint(p[2], 10, 64)
vNum, err := strconv.ParseUint(p[2], 10, 32)
if err != nil {
return ContentTopic{}, ErrInvalidFormat
}