mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-10-01 01:35:42 -04:00
add log when buyer coming online
This commit is contained in:
parent
6b289ccd78
commit
897d43dfba
@ -2547,6 +2547,7 @@ async function executeTrade(ctxP: Partial<TradeContext>): Promise<string> {
|
||||
// buyer comes online if offline
|
||||
if (ctx.isStopped) return ctx.offerId!;
|
||||
if (ctx.buyerOfflineAfterPaymentSent) {
|
||||
HavenoUtils.log(0, "Buyer coming online");
|
||||
const buyer = await initHaveno({appName: ctx.buyerAppName, excludePorts: ctx.usedPorts});
|
||||
if (ctx.isBuyerMaker()) ctx.maker.havenod = buyer;
|
||||
else ctx.taker.havenod = buyer;
|
||||
|
Loading…
Reference in New Issue
Block a user