electrum

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

commit fd48b96335b6466ebaf270b2cc3c734e200e30d1
parent 308b02ca7dc2427583a32784f6bde4dec08d1069
Author: ThomasV <thomasv@electrum.org>
Date:   Mon,  8 Mar 2021 17:45:00 +0100

follow-up prev commit

Diffstat:
Melectrum/lnworker.py | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/electrum/lnworker.py b/electrum/lnworker.py @@ -1712,15 +1712,16 @@ class LNWallet(LNWorker): amount_sent, amount_failed = self.sent_buckets[payment_secret] amount_failed += amount_receiver_msat self.sent_buckets[payment_secret] = amount_sent, amount_failed - if amount_sent == amount_failed: + if amount_sent != amount_failed: self.logger.info('bucket still active...') return self.logger.info('bucket failed') + amount_receiver_msat = amount_sent htlc_log = HtlcLog( success=False, route=route, - amount_msat=amount_sent, + amount_msat=amount_receiver_msat, error_bytes=error_bytes, failure_msg=failure_message, sender_idx=sender_idx)