diff --git a/pkg/core/interop/runtime/witness.go b/pkg/core/interop/runtime/witness.go index 81786aff3..094f38cc0 100644 --- a/pkg/core/interop/runtime/witness.go +++ b/pkg/core/interop/runtime/witness.go @@ -25,9 +25,6 @@ func CheckHashedWitness(ic *interop.Context, hash util.Uint160) (bool, error) { return checkScope(ic.DAO, tx, ic.VM, hash) } - if !ic.VM.Context().GetCallFlags().Has(smartcontract.AllowStates) { - return false, errors.New("missing AllowStates call flag") - } return false, errors.New("script container is not a transaction") }