From 5ada39d4e748cf8ab587930ad9c74dbb6ed0e3da Mon Sep 17 00:00:00 2001 From: expertdicer Date: Mon, 1 Apr 2024 11:48:37 +0700 Subject: [PATCH] add log --- x/asset/keeper/restrictions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/asset/keeper/restrictions.go b/x/asset/keeper/restrictions.go index cfcf102f..df0cddfe 100644 --- a/x/asset/keeper/restrictions.go +++ b/x/asset/keeper/restrictions.go @@ -42,7 +42,7 @@ func (k Keeper) AssetSendRestriction(ctx sdk.Context, fromAddr, toAddr sdk.AccAd if isAuthorizedFrom && isAuthorizedTo { continue } else { //nolint:revive // superfluous else, could fix, but not worth it? - err = errorsmod.Wrapf(types.ErrNotAuthorized, "%s is not authorized to transact with %s", fromAddr, coin.Denom) + err = errorsmod.Wrapf(types.ErrNotAuthorized, "%s is not authorized to send coin to %s with %s", fromAddr, toAddr, coin.Denom) break } }