Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Wozacosta committed Sep 4, 2024
1 parent 8c1a9a0 commit 4716869
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/ledger-live-mobile/e2e/specs/delegate/cosmos.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ describe("Cosmos delegate flow", () => {

const usableAmount = testAccount.spendableBalance.minus(COSMOS_MIN_SAFE).minus(COSMOS_MIN_FEES);
// const delegatedAmount = usableAmount.multipliedBy(delegatedPercent).div(100).integerValue();
const delegatedAmount = usableAmount.multipliedBy(delegatedPercent).div(100).integerValue(BigNumber.ROUND_CEIL);
const delegatedAmount = usableAmount
.multipliedBy(delegatedPercent)
.div(100)
.integerValue(BigNumber.ROUND_CEIL);
const remainingAmount = usableAmount.minus(delegatedAmount);

await app.stake.selectCurrency(testedCurrency);
Expand Down

0 comments on commit 4716869

Please sign in to comment.