tlnhtlc: fix received_in_ctn (LOCAL->REMOTE) - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 11c0c0d5a1eb03680ef88926f2d15b60f4a95bd2 (DIR) parent 9206b6225b0d197288a4f8d78c7ef8bd7c859448 (HTM) Author: ThomasV <thomasv@electrum.org> Date: Tue, 26 Feb 2019 13:53:33 +0100 lnhtlc: fix received_in_ctn (LOCAL->REMOTE) Diffstat: M electrum/lnhtlc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/electrum/lnhtlc.py b/electrum/lnhtlc.py t@@ -159,7 +159,7 @@ class HTLCManager: return sent + received def received_in_ctn(self, ctn): - return [self.log[REMOTE]['adds'][htlc_id] for htlc_id, ctnheights in self.log[REMOTE]['settles'].items() if ctnheights[LOCAL] == ctn] + return [self.log[REMOTE]['adds'][htlc_id] for htlc_id, ctnheights in self.log[REMOTE]['settles'].items() if ctnheights[REMOTE] == ctn] def sent_in_ctn(self, ctn): return [self.log[LOCAL]['adds'][htlc_id] for htlc_id, ctnheights in self.log[LOCAL]['settles'].items() if ctnheights[LOCAL] == ctn]