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

fixes #5599

Co-authored-by: Godfrain Jacques <gkounkou@gmail.com>
This commit is contained in:
Igor Sirotin 2024-08-05 21:06:56 +01:00 committed by GitHub
parent 67373ddbfc
commit 8ff95326c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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 {