Skip to content

Commit

Permalink
Update x/token/keeper/send.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sujong Lee <[email protected]>
  • Loading branch information
0Tech and dudong2 authored Jun 30, 2022
1 parent 07def03 commit cc76ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/token/keeper/send.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (k Keeper) GetAuthorization(ctx sdk.Context, contractID string, holder, ope
Operator: operator.String(),
}, nil
}
return nil, sdkerrors.ErrNotFound.Wrapf("no authorization by %s to %s", holder, operator)
return nil, sdkerrors.ErrNotFound.Wrapf("no authorization to %s by %s", operator, holder)
}

func (k Keeper) setAuthorization(ctx sdk.Context, contractID string, holder, operator sdk.AccAddress) {
Expand Down

0 comments on commit cc76ba5

Please sign in to comment.