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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user