Browse Source

lnhtlc: fix prev: too much copy-paste

patch-4
SomberNight 4 years ago
parent
commit
2d739981c2
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/lnhtlc.py

2
electrum/lnhtlc.py

@ -415,7 +415,7 @@ class HTLCManager:
@with_lock
def all_htlcs_ever(self) -> Sequence[Tuple[Direction, UpdateAddHtlc]]:
sent = [(SENT, htlc) for htlc in self.log[LOCAL]['adds'].values()]
received = [(RECEIVED, htlc) for htlc in self.log[LOCAL]['adds'].values()]
received = [(RECEIVED, htlc) for htlc in self.log[REMOTE]['adds'].values()]
return sent + received
@with_lock

Loading…
Cancel
Save