Skip to content

Commit 8add9ef

Browse files
committed
chore: Remove duplicated NSRH generation on BlockChain.Create()
1 parent 9d6cea6 commit 8add9ef

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Libplanet/Blockchain/BlockChain.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -444,11 +444,6 @@ public static BlockChain Create(
444444
return blockChain;
445445
}
446446

447-
HashDigest<SHA256> nextStateRootHash =
448-
blockChain.DetermineNextBlockStateRootHash(genesisBlock, out _);
449-
450-
blockChain.Store.PutNextStateRootHash(genesisBlock.Hash, nextStateRootHash);
451-
452447
return blockChain;
453448
}
454449

0 commit comments

Comments
 (0)