From b599b395e8767edcd07694c5ec9af10adede06f4 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 25 Jun 2020 10:45:06 +0300 Subject: [PATCH] cli: output nep5 token hashes in LE CLI use always operates with little-endian representation. --- cli/wallet/nep5.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/wallet/nep5.go b/cli/wallet/nep5.go index 69175ba69..803e2b7f7 100644 --- a/cli/wallet/nep5.go +++ b/cli/wallet/nep5.go @@ -155,7 +155,7 @@ func getNEP5Balance(ctx *cli.Context) error { if name != "" && !token.Hash.Equals(asset) { continue } - fmt.Printf("TokenHash: %s\n", asset) + fmt.Printf("TokenHash: %s\n", asset.StringLE()) fmt.Printf("\tAmount : %s\n", balances.Balances[i].Amount) fmt.Printf("\tUpdated: %d\n", balances.Balances[i].LastUpdated) }