From 2234f93d8b39d1f4496dd868619f3c611073db7c Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 22 Oct 2019 18:27:41 +0200 Subject: [PATCH] fix fee in lnworker.get_history (sign error) --- electrum/lnworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnworker.py b/electrum/lnworker.py index 7a72bb57b..f5a889591 100644 --- 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: