CortexFoundation / CortexTheseus

Cortex - AI on Blockchain, Official Golang implementation
https://www.cortexlabs.ai
GNU Lesser General Public License v3.0
120 stars 44 forks source link

common: using `ParseUint` instead of `ParseInt` #2077

Closed ucwong closed 3 weeks ago

ucwong commented 3 weeks ago

Since Decimal is defined as unsiged uint64, we should use strconv.ParseUint instead of strconv.ParseInt during unmarshalling.