This commit is contained in:
callebtc
2022-07-09 17:45:06 +02:00
parent 73ef389425
commit dd67e7ea25
2 changed files with 10 additions and 5 deletions

View File

@@ -139,10 +139,10 @@ func (app *app) interceptHtlcEvents(ctx context.Context, interceptor routerrpc.R
IncomingCircuitKey: event.IncomingCircuitKey,
}
if <-decision_chan {
log.Infof("[forward] ✅ Allow HTLC %s", Configuration.ForwardMode, forward_info_string)
log.Infof("[forward] ✅ Allow HTLC %s", forward_info_string)
response.Action = routerrpc.ResolveHoldForwardAction_RESUME
} else {
log.Infof("[forward] ❌ Deny HTLC %s", Configuration.ForwardMode, forward_info_string)
log.Infof("[forward] ❌ Deny HTLC %s", forward_info_string)
response.Action = routerrpc.ResolveHoldForwardAction_FAIL
}
err = interceptor.Send(response)