Skip to content

Commit

Permalink
Allow to override sobre properties (#3159)
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon authored Feb 23, 2024
1 parent b467613 commit 022a63e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Neo/SmartContract/ApplicationEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public partial class ApplicationEngine : ExecutionEngine
/// <summary>
/// The script hash of the calling contract. This field could be <see langword="null"/> if the current context is the entry context.
/// </summary>
public UInt160 CallingScriptHash
public virtual UInt160 CallingScriptHash
{
get
{
Expand All @@ -139,7 +139,7 @@ public UInt160 CallingScriptHash
/// <summary>
/// The script hash of the entry context. This field could be <see langword="null"/> if no context is loaded to the engine.
/// </summary>
public UInt160 EntryScriptHash => EntryContext?.GetScriptHash();
public virtual UInt160 EntryScriptHash => EntryContext?.GetScriptHash();

/// <summary>
/// The notifications sent during the execution.
Expand Down

0 comments on commit 022a63e

Please sign in to comment.