diff --git a/cli/wallet/nep17.go b/cli/wallet/nep17.go index e988a0a30..80269f06e 100644 --- a/cli/wallet/nep17.go +++ b/cli/wallet/nep17.go @@ -228,7 +228,7 @@ func getMatchingTokenAux(ctx *cli.Context, get func(i int) *wallet.Token, n int, var count int for i := 0; i < n; i++ { t := get(i) - if t != nil && (t.Name == name || t.Symbol == name || t.Address() == name || t.Hash.StringLE() == name) { + if t != nil && (t.Hash.StringLE() == name || t.Address() == name || t.Symbol == name || t.Name == name) { if count == 1 { printTokenInfo(ctx, token) printTokenInfo(ctx, t)