13 lines
526 B
Diff
13 lines
526 B
Diff
# UNDF: UNDF-2026-000000924
|
|
--- a/electrum/lnworker.py
|
|
+++ b/electrum/lnworker.py
|
|
@@ -3029,10 +3029,8 @@ class LNWallet(LNWorker):
|
|
def is_forwarded_htlc(self, htlc_key) -> Optional[str]:
|
|
"""Returns whether this was a forwarded HTLC."""
|
|
- for payment_key, htlcs in self.active_forwardings.items():
|
|
- if htlc_key in htlcs:
|
|
- return payment_key
|
|
- return None
|
|
+ return self._htlc_to_forwarding.get(htlc_key)
|
|
|
|
def notify_upstream_peer(self, htlc_key: str) -> None:
|