cli/wallet: don't mangle token symbol in output

It's important to show it as is because it identifies token.
This commit is contained in:
Roman Khimov 2020-12-13 21:03:25 +03:00
parent 1e9253f1f0
commit 8e2df8902c

View file

@ -197,7 +197,7 @@ func getNEP17Balance(ctx *cli.Context) error {
} }
tokenSymbol = "UNKNOWN" 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, "\tAmount : %s\n", balances.Balances[i].Amount)
fmt.Fprintf(ctx.App.Writer, "\tUpdated: %d\n", balances.Balances[i].LastUpdated) fmt.Fprintf(ctx.App.Writer, "\tUpdated: %d\n", balances.Balances[i].LastUpdated)
} }