forked from TrueCloudLab/neoneo-go
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) {
|
if name != "" && !token.Hash.Equals(asset) {
|
||||||
continue
|
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("\tAmount : %s\n", balances.Balances[i].Amount)
|
||||||
fmt.Printf("\tUpdated: %d\n", balances.Balances[i].LastUpdated)
|
fmt.Printf("\tUpdated: %d\n", balances.Balances[i].LastUpdated)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue