use cosmos/goces
This commit is contained in:
parent
b503d311d2
commit
906ec2a06c
2
.github/workflows/security.yml
vendored
2
.github/workflows/security.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
go.mod
|
||||
go.sum
|
||||
- name: Run Gosec Security Scanner
|
||||
uses: informalsystems/gosec@master
|
||||
uses: cosmos/gosec@master
|
||||
with:
|
||||
# we let the report trigger content trigger a failure using the GitHub Security features.
|
||||
args: '-no-fail -fmt sarif -out results.sarif ./...'
|
||||
|
@ -60,6 +60,7 @@ func ExportGenesis(ctx sdk.Context, keeper keeper.Keeper) types.GenesisState {
|
||||
|
||||
authorities := keeper.ListNameAuthorityRecords(ctx)
|
||||
authorityEntries := []types.AuthorityEntry{}
|
||||
// #nosec
|
||||
for name, record := range authorities {
|
||||
authorityEntries = append(authorityEntries, types.AuthorityEntry{
|
||||
Name: name,
|
||||
|
Loading…
Reference in New Issue
Block a user