Skip to content

Commit

Permalink
https://github.com/neo-project/neo/pull/2375
Browse files Browse the repository at this point in the history
  • Loading branch information
ixje committed Apr 20, 2021
1 parent ca3e20f commit 9c15b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo3/contracts/native/oracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def _request(self,

msgrouter.interop_notify(self.hash, "OracleRequest", state)

@register("verify", contracts.CallFlags.NONE, cpu_price=1 << 15)
@register("verify", contracts.CallFlags.READ_ONLY, cpu_price=1 << 15)
def _verify(self, engine: contracts.ApplicationEngine) -> bool:
tx = engine.script_container
if not isinstance(tx, payloads.Transaction):
Expand Down

0 comments on commit 9c15b7d

Please sign in to comment.