Browse Source

fix fee in lnworker.get_history (sign error)

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 5 years ago
parent
commit
2234f93d8b
  1. 2
      electrum/lnworker.py

2
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:

Loading…
Cancel
Save