mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-08-05 21:14:22 -04:00
rename "payment started" to "payment sent" for consistency
This commit is contained in:
parent
39f510a7b3
commit
9c075ba957
2 changed files with 5 additions and 5 deletions
|
@ -2033,7 +2033,7 @@ async function executeTrade(ctx?: TradeContext): Promise<string> {
|
|||
if (!ctx.buyerSendsPayment) return ctx.offer!.getId();
|
||||
else if (!ctx.isPaymentSent) {
|
||||
HavenoUtils.log(1, "Buyer confirming payment sent");
|
||||
await getBuyer(ctx)!.confirmPaymentStarted(trade.getTradeId());
|
||||
await getBuyer(ctx)!.confirmPaymentSent(trade.getTradeId());
|
||||
ctx.isPaymentSent = true;
|
||||
fetchedTrade = await getBuyer(ctx)!.getTrade(trade.getTradeId());
|
||||
expect(fetchedTrade.getPhase()).toEqual("PAYMENT_SENT");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue