Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Dec 12, 2023
1 parent 4c702de commit 6f2c447
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/gov/types/v1/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func ValidateGenesis(data *GenesisState) error {
// weed out duplicate deposits
errGroup.Go(func() error {
type depositKey struct {
ProposalId uint64
ProposalId uint64 //nolint:revive // staying consistent with main and v0.47
Depositor string
}
depositIds := make(map[depositKey]struct{})
Expand All @@ -77,7 +77,7 @@ func ValidateGenesis(data *GenesisState) error {
// weed out duplicate votes
errGroup.Go(func() error {
type voteKey struct {
ProposalId uint64
ProposalId uint64 //nolint:revive // staying consistent with main and v0.47
Voter string
}
voteIds := make(map[voteKey]struct{})
Expand Down

0 comments on commit 6f2c447

Please sign in to comment.