tfix test_lnpeer - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit cb14bde42286b6fcd57fe74574e445759a843b5f DIR parent 7f3542f0801239cfe5e81feac6b54ad90213c289 HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 5 Mar 2020 11:10:14 +0100 fix test_lnpeer Diffstat: M electrum/lnworker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py t@@ -1205,7 +1205,7 @@ class LNWallet(LNWorker): if f and not f.cancelled(): f.set_result((False, None, reason)) else: - self.logger.info('received unexpected payment_failed, probably from previous session') + chan.logger.info('received unexpected payment_failed, probably from previous session') self.network.trigger_callback('invoice_status', payment_hash.hex()) def payment_sent(self, chan, payment_hash: bytes): t@@ -1215,7 +1215,7 @@ class LNWallet(LNWorker): if f and not f.cancelled(): f.set_result((True, preimage, None)) else: - self.logger.info('received unexpected payment_sent, probably from previous session') + chan.logger.info('received unexpected payment_sent, probably from previous session') self.network.trigger_callback('invoice_status', payment_hash.hex()) self.network.trigger_callback('ln_payment_completed', payment_hash, chan.channel_id)