Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #126 from LiskHQ/124-update-min_certificate_height…
Browse files Browse the repository at this point in the history
…-calculation

Update MIN_CERTIFICATE_HEIGHT calculation
  • Loading branch information
sameersubudhi authored Jul 17, 2023
2 parents cc506da + 502cbe7 commit 2bf1a02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,7 @@ export const migrateUserConfig = async (
snapshotHeight +
1 +
(POS_INIT_ROUNDS + NUMBER_ACTIVE_VALIDATORS - 1) *
(NUMBER_ACTIVE_VALIDATORS + NUMBER_STANDBY_VALIDATORS) +
1;
(NUMBER_ACTIVE_VALIDATORS + NUMBER_STANDBY_VALIDATORS);
cli.action.stop();

if (configV4.modules.pos && !configV4.modules.pos.maxBFTWeightCap) {
Expand Down

0 comments on commit 2bf1a02

Please sign in to comment.