From cc76ba531d8e4ed0ca3b00b8f3ea91a749403fe4 Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Thu, 30 Jun 2022 11:17:54 +0900 Subject: [PATCH] Update x/token/keeper/send.go Co-authored-by: Sujong Lee --- x/token/keeper/send.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/token/keeper/send.go b/x/token/keeper/send.go index 799050eed4..c43dc9e4b5 100644 --- a/x/token/keeper/send.go +++ b/x/token/keeper/send.go @@ -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) {