From 1f8f76ff15fb7c339790ef5ab558bd512ab8eab0 Mon Sep 17 00:00:00 2001 From: Tanmay Date: Thu, 29 Feb 2024 15:10:04 -0500 Subject: [PATCH] add nosec directives --- x/crosschain/migrations/v5/migrate.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x/crosschain/migrations/v5/migrate.go b/x/crosschain/migrations/v5/migrate.go index 52b7ccd46c..27ceba92cc 100644 --- a/x/crosschain/migrations/v5/migrate.go +++ b/x/crosschain/migrations/v5/migrate.go @@ -60,7 +60,9 @@ func ResetTestnetNonce( if !found { continue } + // #nosec G701 always in range for testnet chains pn.NonceLow = int64(chainNonce.nonceLow) + // #nosec G701 always in range for testnet chains pn.NonceHigh = int64(chainNonce.nonceHigh) observerKeeper.SetPendingNonces(ctx, pn) }