Skip to content

Commit

Permalink
fix(dogfood): #nosec the correct rule
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Apr 5, 2024
1 parent 178d8cd commit 907e02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/dogfood/keeper/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (k Keeper) InitGenesis(
for _, val := range genState.InitialValSet {
// #nosec G703 // already validated
consKey, _ := operatortypes.HexStringToPubKey(val.PublicKey)
// #nosec G601 // this only fails if the key is of a type not already defined.
// #nosec G703 // this only fails if the key is of a type not already defined.
consAddr, _ := operatortypes.TMCryptoPublicKeyToConsAddr(consKey)
found, _ := k.operatorKeeper.GetOperatorAddressForChainIDAndConsAddr(
ctx, ctx.ChainID(), consAddr,
Expand Down

0 comments on commit 907e02b

Please sign in to comment.