core: fix call flags for System.Contract.Call

Follow neo-project/neo#2292.
This commit is contained in:
Evgeniy Stratonikov 2021-02-25 18:12:36 +03:00
parent cbda20aca3
commit 4db5ef05f8
2 changed files with 2 additions and 2 deletions

View file

@ -197,7 +197,7 @@ func TestAppCall(t *testing.T) {
})
t.Run("callEx, valid", func(t *testing.T) {
src := getCallExScript(fmt.Sprintf("%#v", ih.BytesBE()), "contract.AllowCall")
src := getCallExScript(fmt.Sprintf("%#v", ih.BytesBE()), "contract.ReadStates|contract.AllowCall")
v := spawnVM(t, ic, src)
require.NoError(t, v.Run())