diff --git a/cli/wallet/nep17.go b/cli/wallet/nep17.go index 941670de0..79bc59795 100644 --- a/cli/wallet/nep17.go +++ b/cli/wallet/nep17.go @@ -86,10 +86,7 @@ func newNEP17Commands() []cli.Command { Action: printNEP17Info, Flags: []cli.Flag{ walletPathFlag, - cli.StringFlag{ - Name: "token", - Usage: "Token name or hash", - }, + tokenFlag, }, }, { @@ -99,10 +96,7 @@ func newNEP17Commands() []cli.Command { Action: removeNEP17Token, Flags: []cli.Flag{ walletPathFlag, - cli.StringFlag{ - Name: "token", - Usage: "Token name or hash", - }, + tokenFlag, forceFlag, }, },