From 2d739981c2ad356f048801513b284d1faf1bd57b Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sat, 5 Sep 2020 17:49:02 +0200 Subject: [PATCH] lnhtlc: fix prev: too much copy-paste --- electrum/lnhtlc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnhtlc.py b/electrum/lnhtlc.py index 6e77ff20a..1587acb5c 100644 --- a/electrum/lnhtlc.py +++ b/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