diff --git a/neo3/api/wrappers.py b/neo3/api/wrappers.py index 8bf5d00..2c3e19c 100644 --- a/neo3/api/wrappers.py +++ b/neo3/api/wrappers.py @@ -235,7 +235,7 @@ async def _test_invoke( """ async with noderpc.NeoRpcClient(self.rpc_host) as client: res = await client.invoke_script(f.script, signers) - if f.execution_processor is None or return_raw: + if f.execution_processor is None or return_raw or res.state != "HALT": return res return f.execution_processor(res, 0)