rename "payment started" to "payment sent" for consistency

This commit is contained in:
woodser 2023-02-05 19:17:31 -05:00
parent 39f510a7b3
commit 9c075ba957
2 changed files with 5 additions and 5 deletions

View file

@ -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");