cli: use AddressFlag for import-deployed
This commit is contained in:
parent
87f950a719
commit
92c6708fa0
2 changed files with 11 additions and 7 deletions
|
@ -267,6 +267,11 @@ func TestImportDeployed(t *testing.T) {
|
|||
priv, err := keys.NewPrivateKey()
|
||||
require.NoError(t, err)
|
||||
|
||||
// missing contract sh
|
||||
e.RunWithError(t, "neo-go", "wallet", "import-deployed",
|
||||
"--rpc-endpoint", "http://"+e.RPC.Addr,
|
||||
"--wallet", walletPath, "--wif", priv.WIF())
|
||||
|
||||
e.In.WriteString("acc\rpass\rpass\r")
|
||||
e.Run(t, "neo-go", "wallet", "import-deployed",
|
||||
"--rpc-endpoint", "http://"+e.RPC.Addr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue