Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zale144 committed Nov 28, 2024
1 parent 98506e3 commit e9f9383
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions x/gasless/keeper/usage_identifiers.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ func (k Keeper) IsValidUsageIdentifier(ctx sdk.Context, usageIdentifier string)

// check if usageIdentifier is a registered message type
_, err := k.interfaceRegistry.Resolve(usageIdentifier)
if err == nil {
return true
}

return false
return err == nil
}

func (k Keeper) ExtractUsageIdentifierFromTx(ctx sdk.Context, sdkTx sdk.Tx) string {
Expand Down

0 comments on commit e9f9383

Please sign in to comment.