Skip to content

Commit

Permalink
fix previous
Browse files Browse the repository at this point in the history
  • Loading branch information
numsu committed May 19, 2022
1 parent c6fea0a commit e21f10d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class AppComponent implements OnInit, OnDestroy {
return;
}

const principalWeightPercent = new BigNumber(principalWeight).div(new BigNumber(this.ws.onlineStake)).times(100);
const principalWeightPercent = new BigNumber(principalWeight).div(new BigNumber(this.ws.quorumDelta)).times(100);
const blocks = this.repToBlocks.get(vote.message.account);

for (const block of vote.message.blocks) {
Expand Down

0 comments on commit e21f10d

Please sign in to comment.