mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-09-26 19:20:58 -04:00
add log when buyer coming online
This commit is contained in:
parent
6b289ccd78
commit
897d43dfba
1 changed files with 1 additions and 0 deletions
|
@ -2547,6 +2547,7 @@ async function executeTrade(ctxP: Partial<TradeContext>): Promise<string> {
|
||||||
// buyer comes online if offline
|
// buyer comes online if offline
|
||||||
if (ctx.isStopped) return ctx.offerId!;
|
if (ctx.isStopped) return ctx.offerId!;
|
||||||
if (ctx.buyerOfflineAfterPaymentSent) {
|
if (ctx.buyerOfflineAfterPaymentSent) {
|
||||||
|
HavenoUtils.log(0, "Buyer coming online");
|
||||||
const buyer = await initHaveno({appName: ctx.buyerAppName, excludePorts: ctx.usedPorts});
|
const buyer = await initHaveno({appName: ctx.buyerAppName, excludePorts: ctx.usedPorts});
|
||||||
if (ctx.isBuyerMaker()) ctx.maker.havenod = buyer;
|
if (ctx.isBuyerMaker()) ctx.maker.havenod = buyer;
|
||||||
else ctx.taker.havenod = buyer;
|
else ctx.taker.havenod = buyer;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue