Skip to content

Commit 426c81a

Browse files
committed
Added explicit Faun dependency
1 parent ceb7cda commit 426c81a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Neo/SmartContract/ApplicationEngine.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,8 @@ private ExecutionContext CallContractInternal(ContractState contract, ContractMe
357357

358358
// Check whitelist
359359

360-
if (NativeContract.Policy.IsWhitelistFeeContract(SnapshotCache, contract.Hash, method.Name, method.Parameters.Length, out var fixedFee))
360+
if (IsHardforkEnabled(Hardfork.HF_Faun) &&
361+
NativeContract.Policy.IsWhitelistFeeContract(SnapshotCache, contract.Hash, method.Name, method.Parameters.Length, out var fixedFee))
361362
{
362363
AddFee(fixedFee.Value);
363364
state.WhiteListed = true;

0 commit comments

Comments
 (0)