Skip to content

Commit

Permalink
Merge pull request #274 from gobitfly/linter
Browse files Browse the repository at this point in the history
linter
  • Loading branch information
manuelsc authored Mar 11, 2024
2 parents 53ce803 + 58fbecf commit e78def4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/tab-validators/tab-validators.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,9 +534,9 @@ export class Tab2Page {
for (const val of validatorSubArray) {
let temp = new BigNumber(val.data.effectivebalance)
if (val.rocketpool) {
const nodeBalance = new BigNumber(val.rocketpool.node_deposit_balance).dividedBy(1e9);
const partRatio = nodeBalance.dividedBy(temp);
temp = temp.multipliedBy(partRatio);
const nodeBalance = new BigNumber(val.rocketpool.node_deposit_balance).dividedBy(1e9)
const partRatio = nodeBalance.dividedBy(temp)
temp = temp.multipliedBy(partRatio)
}
sum = sum.plus(temp)
}
Expand Down

0 comments on commit e78def4

Please sign in to comment.