mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-12-24 23:09:26 -05:00
seller state is PAYMENT_RECEIVED or PAYOUT_PUBLISHED after confirming
This commit is contained in:
parent
9d84779a05
commit
1065e1b325
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user