mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 19:29:39 +00:00
cli: output nep5 token hashes in LE
CLI use always operates with little-endian representation.
This commit is contained in:
parent
65cb6dd0ad
commit
b599b395e8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue