Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Neo/SmartContract/Native/NativeContract.cs
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ internal bool IsInitializeBlock(ProtocolSettings settings, uint index, [NotNullW
{
if (!settings.Hardforks.TryGetValue(hf, out var activeIn))
{
// If is not set in the configuration is treated as enabled from the genesis
activeIn = 0;
// If hf is not set in the configuration (with EnsureOmmitedHardforks applied over it), it is treated as disabled.
continue;
}

if (activeIn == index)
Expand Down