commit 7d3eb5d4dbf465b248dd9e77fb6b3ded09fecf5a
parent 62be1cc367cef5838605ca5d7fd714a7f6333972
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 6 May 2020 04:01:56 +0200
(trivial) follow-up c1b1638615c37268d2ca33c44abeec398b2d45e3
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum/lnworker.py b/electrum/lnworker.py
@@ -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,