diff --git a/apps/ledger-live-mobile/e2e/specs/delegate/cosmos.spec.ts b/apps/ledger-live-mobile/e2e/specs/delegate/cosmos.spec.ts index 0aba5a220970..61601f00974d 100644 --- a/apps/ledger-live-mobile/e2e/specs/delegate/cosmos.spec.ts +++ b/apps/ledger-live-mobile/e2e/specs/delegate/cosmos.spec.ts @@ -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);