mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 01:41:48 +00:00
cli: allow to specify cosigners with Neo addresses
Make it a bit more usable.
This commit is contained in:
parent
48e3a41133
commit
79e11c93a1
2 changed files with 12 additions and 5 deletions
|
@ -187,6 +187,9 @@ func TestComlileAndInvokeFunction(t *testing.T) {
|
|||
e.Run(t, "neo-go", "contract", "testinvokescript",
|
||||
"--rpc-endpoint", "http://"+e.RPC.Addr,
|
||||
"--in", nefName, "--", util.Uint160{1, 2, 3}.StringLE())
|
||||
e.Run(t, "neo-go", "contract", "testinvokescript",
|
||||
"--rpc-endpoint", "http://"+e.RPC.Addr,
|
||||
"--in", nefName, "--", address.Uint160ToString(util.Uint160{1, 2, 3}))
|
||||
|
||||
e.In.WriteString("one\r")
|
||||
e.Run(t, "neo-go", "contract", "deploy",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue