From b5c148f74bbfe07a1a69468d65ca20ea50c0aa59 Mon Sep 17 00:00:00 2001 From: woodser Date: Sun, 12 Nov 2023 11:12:25 -0500 Subject: [PATCH] increase amounts to test offer above limit --- src/HavenoClient.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(),