swap clear interval

This commit is contained in:
shocknet-justin 2026-02-05 15:46:39 -05:00
parent ecf7c43416
commit 9fe681d73b
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View file

@ -155,9 +155,7 @@ export class ReverseSwaps {
}
} catch (err: any) {
this.log(ERROR, 'Error handling transaction WebSocket message', err.message)
isDone = true
webSocket.close()
swapDone({ ok: false, error: err.message })
done(err.message)
return
}
})

View file

@ -407,7 +407,7 @@ export class SubmarineSwaps {
await this.handleSwapInvoiceMessage(rawMsg, data, done, waitingTx)
} catch (err: any) {
this.log(ERROR, 'Error handling invoice WebSocket message', err.message)
webSocket.close()
done(err.message)
return
}
});