diff --git a/pkg/core/blockchain.go b/pkg/core/blockchain.go index 246dc2fa1..f95c5448e 100644 --- a/pkg/core/blockchain.go +++ b/pkg/core/blockchain.go @@ -1463,7 +1463,7 @@ func (bc *Blockchain) verifyHashAgainstScript(hash util.Uint160, witness *transa vm := interopCtx.SpawnVM() vm.SetPriceGetter(getPrice) vm.GasLimit = gas - vm.LoadScriptWithFlags(verification, smartcontract.ReadOnly) + vm.LoadScriptWithFlags(verification, smartcontract.NoneFlag) vm.LoadScript(witness.InvocationScript) if useKeys { bc.keyCacheLock.RLock()