Skip to content

Commit

Permalink
fix: Removed a TODO message regarding future adding of initialization…
Browse files Browse the repository at this point in the history
… of consensus states from db.
  • Loading branch information
Hristiyan Mitov committed Jan 16, 2025
1 parent 6217087 commit 7b066b2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/limechain/client/HostNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ protected void initializeStates() {
// if: database has some persisted storage
if (db.find(BlockStateHelper.headerHashKey(BigInteger.ZERO)).isPresent()) {
states.forEach(ServiceState::initializeFromDatabase);
//TODO: should implement the method
// consensusStates.forEach(ServiceState::initializeFromDatabase);
} else {
GenesisBlockHash genesisBlockHash = AppBean.getBean(GenesisBlockHash.class);
TrieStructure<NodeData> trie = genesisBlockHash.getGenesisTrie();
Expand Down

0 comments on commit 7b066b2

Please sign in to comment.