cli: reuse existing token flag for nep17-related commands

This commit is contained in:
Anna Shaleva 2021-04-22 18:44:48 +03:00
parent a61a3d5ceb
commit ba8b0fd7b0

View file

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