From 8e2df8902c1a2d0b19f004a3e79dc8eb7af7632b Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Sun, 13 Dec 2020 21:03:25 +0300 Subject: [PATCH] cli/wallet: don't mangle token symbol in output It's important to show it as is because it identifies token. --- cli/wallet/nep17.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/wallet/nep17.go b/cli/wallet/nep17.go index dd9006bd8..e988a0a30 100644 --- a/cli/wallet/nep17.go +++ b/cli/wallet/nep17.go @@ -197,7 +197,7 @@ func getNEP17Balance(ctx *cli.Context) error { } tokenSymbol = "UNKNOWN" } - fmt.Fprintf(ctx.App.Writer, "%s: %s (%s)\n", strings.ToUpper(tokenSymbol), tokenName, asset.StringLE()) + fmt.Fprintf(ctx.App.Writer, "%s: %s (%s)\n", tokenSymbol, tokenName, asset.StringLE()) fmt.Fprintf(ctx.App.Writer, "\tAmount : %s\n", balances.Balances[i].Amount) fmt.Fprintf(ctx.App.Writer, "\tUpdated: %d\n", balances.Balances[i].LastUpdated) }