electrum

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

commit a8b9727817a9637cc9ce003da93d6f2734c65c54
parent 87cc312d1eb89f03d12d6280554eb6b5e4dcb5e3
Author: SomberNight <somber.night@protonmail.com>
Date:   Wed, 17 Oct 2018 12:10:43 +0200

lnbase: fix peer clean-up

Diffstat:
Melectrum/lnbase.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/electrum/lnbase.py b/electrum/lnbase.py @@ -359,7 +359,8 @@ class Peer(PrintError): def close_and_cleanup(self): try: - self.writer.close() + if self.transport: + self.transport.writer.close() except: pass for chan in self.channels.values():