fix_: conversion from int to string causes code scanning error (#5600)

fixes #5599
This commit is contained in:
Godfrain Jacques 2024-07-26 11:56:48 -07:00 committed by GitHub
parent f6d7d1429c
commit 72baaebe39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,7 +44,7 @@ const (
) )
func (c ChainID) String() string { func (c ChainID) String() string {
return strconv.Itoa(int(c)) return strconv.FormatUint(uint64(c), 10)
} }
func (c ChainID) IsMainnet() bool { func (c ChainID) IsMainnet() bool {