cli: use AddressFlag for calc-hash
This commit is contained in:
parent
90b054afd0
commit
df24c51262
2 changed files with 10 additions and 6 deletions
|
@ -211,6 +211,11 @@ func TestComlileAndInvokeFunction(t *testing.T) {
|
|||
e.checkTxPersisted(t)
|
||||
|
||||
t.Run("check calc hash", func(t *testing.T) {
|
||||
// missing sender
|
||||
e.RunWithError(t, "neo-go", "contract", "calc-hash",
|
||||
"--in", nefName,
|
||||
"--manifest", manifestName)
|
||||
|
||||
e.Run(t, "neo-go", "contract", "calc-hash",
|
||||
"--sender", validatorAddr, "--in", nefName,
|
||||
"--manifest", manifestName)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue