test completing trade from scheduled offer with and without dispute

This commit is contained in:
woodser 2023-02-05 17:33:46 -05:00
parent 9c075ba957
commit 0862caae47
2 changed files with 28 additions and 12 deletions

View file

@ -1647,9 +1647,13 @@ export default class HavenoClient {
firstRequest = false;
return;
}
await this._sendNotification(new NotificationMessage()
.setType(NotificationMessage.NotificationType.KEEP_ALIVE)
.setTimestamp(Date.now()));
try {
await this._sendNotification(new NotificationMessage()
.setType(NotificationMessage.NotificationType.KEEP_ALIVE)
.setTimestamp(Date.now()));
} catch (err: any) {
HavenoUtils.log(0, "Error sending keep alive request to Haveno daemon: " + err.message);
}
});
this._keepAliveLooper.start(this._keepAlivePeriodMs);