undf: assign 920-922; stamp wasabi patches
This commit is contained in:
parent
737891b5a1
commit
b62fd27e28
7 changed files with 302 additions and 4 deletions
13
defects/electrum-0002/patch/electrum-0002.patch
Normal file
13
defects/electrum-0002/patch/electrum-0002.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# 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:
|
||||
Loading…
Add table
Add a link
Reference in a new issue