cli: output nep5 token hashes in LE

CLI use always operates with little-endian representation.
This commit is contained in:
Evgenii Stratonikov 2020-06-25 10:45:06 +03:00
parent 65cb6dd0ad
commit b599b395e8

View file

@ -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)
}