From 1065e1b325b2e7fd1b48dcb7bb87137347037892 Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 7 Apr 2022 10:53:58 -0400 Subject: [PATCH] seller state is PAYMENT_RECEIVED or PAYOUT_PUBLISHED after confirming --- src/haveno.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haveno.test.ts b/src/haveno.test.ts index d0be1f77..7db58d26 100644 --- a/src/haveno.test.ts +++ b/src/haveno.test.ts @@ -1008,7 +1008,7 @@ test("Can complete a trade", async () => { HavenoUtils.log(1, "Bob confirming payment received"); await bob.confirmPaymentReceived(trade.getTradeId()); fetchedTrade = await bob.getTrade(trade.getTradeId()); - expect(fetchedTrade.getPhase()).toEqual("PAYOUT_PUBLISHED"); // TODO (woodser): payout is not necessarily published, buyer might need to sign + expect(fetchedTrade.getPhase()).toEqual("PAYMENT_RECEIVED"); // TODO (woodser): may be PAYOUT_PUBLISHED if seller sends multisig info after confirmation // alice notified trade is complete and of balance changes await wait(TestConfig.maxWalletStartupMs + TestConfig.walletSyncPeriodMs * 2);