Skip to content

Commit

Permalink
make cosmos go sec linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
brewmaster012 committed Jan 23, 2024
1 parent 6391083 commit a724938
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zetaclient/evm_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ func (ob *EVMChainClient) ExternalChainRPCStatus() {
ob.logger.ChainLogger.Error().Err(err).Msg("RPC Status Check error: RPC down?")
continue
}
// #nosec G701 always in range
blockTime := time.Unix(int64(header.Time), 0).UTC()
elapsedSeconds := time.Since(blockTime).Seconds()
if elapsedSeconds > 100 {
Expand Down

0 comments on commit a724938

Please sign in to comment.