Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
expertdicer committed Apr 1, 2024
1 parent 71ac249 commit 5ada39d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/asset/keeper/restrictions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 5ada39d

Please sign in to comment.