Browse Source

(trivial) follow-up c1b1638615

master
SomberNight 5 years ago
parent
commit
7d3eb5d4db
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 4
      electrum/lnworker.py

4
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,

Loading…
Cancel
Save