electrum

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

commit 2234f93d8b39d1f4496dd868619f3c611073db7c
parent d9b5ab30860bd2180e2b7b5592c0229bfc73bff0
Author: ThomasV <thomasv@electrum.org>
Date:   Tue, 22 Oct 2019 18:27:41 +0200

fix fee in lnworker.get_history (sign error)

Diffstat:
Melectrum/lnworker.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/lnworker.py b/electrum/lnworker.py @@ -475,7 +475,7 @@ class LNWallet(LNWorker): if _direction == SENT: try: inv = self.get_payment_info(bfh(key)) - fee_msat = inv.amount*1000 - amount_msat if inv.amount else None + fee_msat = - inv.amount*1000 - amount_msat if inv.amount else None except UnknownPaymentHash: fee_msat = None else: