We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0a35dc commit f743db6Copy full SHA for f743db6
Libplanet/Blockchain/BlockChain.cs
@@ -427,8 +427,7 @@ public static BlockChain Create(
427
store.SetCanonicalChainId(id);
428
429
blockChainStates ??= new BlockChainStates(store, stateStore);
430
-
431
- var blockChain = new BlockChain(
+ return new BlockChain(
432
policy,
433
stagePolicy,
434
store,
@@ -438,13 +437,6 @@ public static BlockChain Create(
438
437
blockChainStates,
439
actionEvaluator,
440
renderers);
441
442
- if (genesisBlock.ProtocolVersion < BlockMetadata.SlothProtocolVersion)
443
- {
444
- return blockChain;
445
- }
446
447
448
}
449
450
/// <summary>
0 commit comments