Skip to content

Commit

Permalink
Update src/Neo/SmartContract/ApplicationEngine.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim8y authored Jun 4, 2024
1 parent 9588ec4 commit 354d7b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Neo/SmartContract/ApplicationEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ private ExecutionContext CallContractInternal(ContractState contract, ContractMe
if (NativeContract.Policy.IsBlocked(Snapshot, contract.Hash))
throw new InvalidOperationException($"The contract {contract.Hash} has been blocked.");

// ref. https://github.com/neo-project/neo/pull/3290
ExecutionContext currentContext = CurrentContext;
ExecutionContextState state = currentContext.GetState<ExecutionContextState>();
if (method.Safe)
Expand Down

0 comments on commit 354d7b1

Please sign in to comment.