1
0

lnhtlc: fix prev: too much copy-paste

This commit is contained in:
SomberNight
2020-09-05 17:49:02 +02:00
parent aba2e0f55a
commit 2d739981c2

View File

@@ -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