Skip to content

Commit

Permalink
refactor(cardano-services): remove duplicated line
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivaylo Andonov committed May 30, 2023
1 parent c844fd0 commit 5bcff83
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -110,7 +110,6 @@ export class DbSyncStakePoolProvider extends DbSyncProvider(RunnableModule) impl

this.#builder = new StakePoolBuilder(dbPools.main, logger);
this.#cache = cache.db;
this.#epochLength = genesisData.epochLength * 1000;
// epochLength can change, so it should come from EraSummaries instead of from CompactGenesis.
// Then we would need to look up the length of the specific epoch based on slot number.
// However it would add a lot of complexity to the queries, so for now we use this simple approach.
Expand Down

0 comments on commit 5bcff83

Please sign in to comment.