Skip to content

Commit

Permalink
whats the error
Browse files Browse the repository at this point in the history
  • Loading branch information
kkast committed Apr 1, 2024
1 parent 9778716 commit c25b7dc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions x/ratelimit/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ func (k Keeper) AddTransferRateLimit(goCtx context.Context, msg *types.MsgAddRat
func (k Keeper) UpdateTransferRateLimit(goCtx context.Context, msg *types.MsgUpdateRateLimit) (*types.MsgUpdateRateLimitResponse, error) {
ctx := sdk.UnwrapSDKContext(goCtx)

if k.authority != msg.Authority {
return nil, errors.Wrapf(govtypes.ErrInvalidSigner, "invalid authority; expected %s, got %s", k.authority, msg.Authority)
}

if err := msg.ValidateBasic(); err != nil {
return nil, err
}
Expand Down

0 comments on commit c25b7dc

Please sign in to comment.