diff --git a/zetaclient/ethrpc/types.go b/zetaclient/ethrpc/types.go index 81492e715d..107ad26598 100644 --- a/zetaclient/ethrpc/types.go +++ b/zetaclient/ethrpc/types.go @@ -121,9 +121,13 @@ func (proxy *proxyBlockWithoutTransactions) toBlock() Block { Difficulty: big.Int(proxy.Difficulty), TotalDifficulty: big.Int(proxy.TotalDifficulty), ExtraData: proxy.ExtraData, + // #nosec G701 - copied file from 3rd library, always in range Size: int(proxy.Size), + // #nosec G701 - copied file from 3rd library, always in range GasLimit: int(proxy.GasLimit), + // #nosec G701 - copied file from 3rd library, always in range GasUsed: int(proxy.GasUsed), + // #nosec G701 - copied file from 3rd library, always in range Timestamp: int(proxy.Timestamp), Uncles: proxy.Uncles, }