1
0

maybe_forward_htlc: 'already_forwarded' must be passed to the recursive call.

if we are a trampoline and chain tip is stale, we must not fail the htlc.
This commit is contained in:
ThomasV
2025-01-11 09:43:36 +01:00
parent 3aac8ff0b8
commit 3ffcac87ac

View File

@@ -2196,6 +2196,7 @@ class Peer(Logger, EventListener):
htlc=htlc,
processed_onion=trampoline_onion,
onion_packet_bytes=onion_packet_bytes,
already_forwarded=already_forwarded,
)
else:
callback = lambda: self.maybe_forward_trampoline(