MCPcopy Create free account
hub / github.com/ElementsProject/lightning / log_decision

Function log_decision

plugins/lsps-plugin/src/service.rs:249–264  ·  view source on GitHub ↗
(decision: &HtlcDecision)

Source from the content-addressed store, hash-verified

247}
248
249fn log_decision(decision: &HtlcDecision) {
250 match decision {
251 HtlcDecision::NotOurs => {
252 trace!("SCID not ours, continue");
253 }
254 HtlcDecision::Forward { forward_to, .. } => {
255 debug!(
256 "Forwarding via JIT channel {}",
257 hex::encode(forward_to.as_byte_array())
258 );
259 }
260 HtlcDecision::Reject { reason } => {
261 debug!("Rejecting HTLC: {:?}", reason);
262 }
263 }
264}

Callers 1

handle_htlc_innerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected