cli: use AddressFlag for 'wallet remove' command
This commit is contained in:
parent
42bfd413e3
commit
6af2f3fdec
2 changed files with 11 additions and 8 deletions
|
@ -71,7 +71,7 @@ func TestWalletInit(t *testing.T) {
|
|||
addr := w.Accounts[0].Address
|
||||
e.In.WriteString("y\r")
|
||||
e.Run(t, "neo-go", "wallet", "remove",
|
||||
"--wallet", walletPath, addr)
|
||||
"--wallet", walletPath, "--address", addr)
|
||||
w, err := wallet.NewWalletFromFile(walletPath)
|
||||
require.NoError(t, err)
|
||||
require.Nil(t, w.GetAccount(sh))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue