diff --git a/src/HavenoClient.test.ts b/src/HavenoClient.test.ts index 901616fd..a8a3f478 100644 --- a/src/HavenoClient.test.ts +++ b/src/HavenoClient.test.ts @@ -1514,7 +1514,7 @@ test("Cannot post offer exceeding trade limit (CI, sanity check)", async () => { // test posting buy offer above limit try { await executeTrade({ - offerAmount: BigInt("2100000000000"), + offerAmount: moneroTs.MoneroUtils.xmrToAtomicUnits(2.6), direction: OfferDirection.BUY, assetCode: assetCode, makerPaymentAccountId: account.getId(), @@ -1528,7 +1528,7 @@ test("Cannot post offer exceeding trade limit (CI, sanity check)", async () => { // test posting sell offer above limit try { await executeTrade({ - offerAmount: BigInt("2600000000000"), + offerAmount: moneroTs.MoneroUtils.xmrToAtomicUnits(8.1), direction: OfferDirection.SELL, assetCode: assetCode, makerPaymentAccountId: account.getId(),