Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Apr 18, 2024
1 parent 65ca76d commit 5bc8c07
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions x/crosschain/types/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ func (gs GenesisState) Validate() error {
gasPriceIndexMap[elem.Index] = true
}

if err := gs.RateLimiterFlags.Validate(); err != nil {
return err
}

return nil
return gs.RateLimiterFlags.Validate()
}

func GetGenesisStateFromAppState(marshaler codec.JSONCodec, appState map[string]json.RawMessage) GenesisState {
Expand Down

0 comments on commit 5bc8c07

Please sign in to comment.