log htlc event

This commit is contained in:
hatim boufnichel 2024-04-18 19:23:50 +02:00
parent efbf96531c
commit b751470747

View file

@ -18,6 +18,7 @@ export default class HtlcTracker {
}
log = getLogger({ appName: 'htlcTracker' })
onHtlcEvent = async (htlc: HtlcEvent) => {
getLogger({ appName: 'debugHtlcs' })(htlc)
const htlcEvent = htlc.event
if (htlcEvent.oneofKind === 'subscribedEvent') {
this.log("htlc subscribed")