t(trivial) follow-up c1b1638615c37268d2ca33c44abeec398b2d45e3 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 7d3eb5d4dbf465b248dd9e77fb6b3ded09fecf5a DIR parent 62be1cc367cef5838605ca5d7fd714a7f6333972 HTML Author: SomberNight <somber.night@protonmail.com> Date: Wed, 6 May 2020 04:01:56 +0200 (trivial) follow-up c1b1638615c37268d2ca33c44abeec398b2d45e3 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@@ -892,9 +892,9 @@ class LNWallet(LNWorker): self.network.path_finder.add_to_blacklist(short_chan_id) else: # probably got "update_fail_malformed_htlc". well... who to penalise now? - assert payment_attempt.error_reason is not None + assert payment_attempt.failure_message is not None sender_idx = None - failure_msg = payment_attempt.error_reason + failure_msg = payment_attempt.failure_message is_blacklisted = False failure_log = PaymentAttemptFailureDetails(sender_idx=sender_idx, failure_msg=failure_msg,