Skip to content

Commit

Permalink
Fix failing TakeBuyBTCOfferTest
Browse files Browse the repository at this point in the history
Fix failing test by setting amount and minAmount to the maxTradeLimit for
fiat accounts (0.1 BTC)
  • Loading branch information
alyokaz committed Jul 4, 2023
1 parent c8c256f commit d2f9172
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public void testTakeAlicesBuyOffer(final TestInfo testInfo) {
PaymentAccount alicesUsdAccount = createDummyF2FAccount(aliceClient, "US");
var alicesOffer = aliceClient.createMarketBasedPricedOffer(BUY.name(),
USD,
12_500_000L,
12_500_000L, // min-amount = amount
10_000_000L,
10_000_000L, // min-amount = amount
0.00,
defaultBuyerSecurityDepositPct.get(),
alicesUsdAccount.getId(),
Expand Down

0 comments on commit d2f9172

Please sign in to comment.