Skip to content

Commit

Permalink
fix: fixed lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aarmoa committed Feb 13, 2025
1 parent dbc043b commit b192fa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eip712_cosmos.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func WrapTxToEIP712(
)

if chainID > uint64(math.MaxInt64) {
err := fmt.Errorf("chainID is too large: %s (max supported value is %s)", chainID, math.MaxInt64)
err := fmt.Errorf("chainID is too large: %v (max supported value is %v)", chainID, math.MaxInt64)
return typeddata.TypedData{}, err
}
intChainId := int64(chainID)
Expand Down Expand Up @@ -540,7 +540,7 @@ func WrapTxToEIP712V2(
) (typeddata.TypedData, error) {

if chainID > uint64(math.MaxInt64) {
err := fmt.Errorf("chainID is too large: %s (max supported value is %s)", chainID, math.MaxInt64)
err := fmt.Errorf("chainID is too large: %v (max supported value is %v)", chainID, math.MaxInt64)
return typeddata.TypedData{}, err
}
intChainId := int64(chainID)
Expand Down

0 comments on commit b192fa9

Please sign in to comment.