Skip to content

Commit

Permalink
fix merge/rebase glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
liamsi committed Aug 31, 2023
1 parent 1fb01d7 commit d33df0b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions x/auth/vesting/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ func (s msgServer) CreateVestingAccount(goCtx context.Context, msg *types.MsgCre
return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "invalid start and end time (must be start < end)")
}

ctx = sdk.UnwrapSDKContext(goCtx)
if err := s.BankKeeper.IsSendEnabledCoins(ctx, msg.Amount...); err != nil {
return nil, err
}

if bk.BlockedAddr(to) {
return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, "%s is not allowed to receive funds", msg.ToAddress)
}
Expand Down

0 comments on commit d33df0b

Please sign in to comment.