Skip to content

Commit

Permalink
Update ServerNodes getBondsPercent test
Browse files Browse the repository at this point in the history
  • Loading branch information
SvineruS committed Jan 15, 2024
1 parent eaae974 commit 454062b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/staking/ServerNodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,6 @@ describe("ServerNodes", function () {
});

function getBondsPercent(stakingTime: number) {
return 0; // for now

const nativePercent = 25 + (stakingTime * 75) / (3 * 365 * 24 * 60 * 60);
return 100 - Math.min(nativePercent, 100);
}

0 comments on commit 454062b

Please sign in to comment.