Skip to content

Commit

Permalink
save keys to map
Browse files Browse the repository at this point in the history
  • Loading branch information
quasisamurai committed May 23, 2023
1 parent aad302d commit a2bdf5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/interchainqueries/types/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func (gs GenesisState) Validate() error {
if seenIDs[val.Id] {
return sdkerrors.Wrapf(ErrInvalidQueryID, "duplicate query id: %d", val.Id)
}
seenIDs[val.Id] = true

_, err = sdk.AccAddressFromBech32(val.Owner)
if err != nil {
Expand Down

0 comments on commit a2bdf5c

Please sign in to comment.