cosmos / relayer

An IBC relayer for ibc-go
Apache License 2.0
390 stars 1.71k forks source link

fix: perform upper and lower bounds check on unbonding value before casting from uint64 to int64 #1444

Closed jtieri closed 7 months ago

jtieri commented 7 months ago

Previously we were converting a string value to an uint64 which was then cast into an int64 when calling time.Duration. GitHub was throwing a code scanning security alert and this should rectify that issue.