electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 2d739981c2ad356f048801513b284d1faf1bd57b
parent aba2e0f55a2401928bbcee584693e1170e494e1c
Author: SomberNight <somber.night@protonmail.com>
Date:   Sat,  5 Sep 2020 17:49:02 +0200

lnhtlc: fix prev: too much copy-paste

Diffstat:
Melectrum/lnhtlc.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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