Skip to content

Commit 594c2e6

Browse files
committed
1 parent eea7324 commit 594c2e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Neo/SmartContract/Native/NativeContract.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,8 @@ internal bool IsActive(ProtocolSettings settings, uint index)
289289

290290
if (!settings.Hardforks.TryGetValue(ActiveIn.Value, out var activeIn))
291291
{
292-
return false;
292+
// If is not set in the configuration is treated as enabled from the genesis
293+
activeIn = 0;
293294
}
294295

295296
return activeIn <= index;

0 commit comments

Comments
 (0)