Browse Source

fix amount_msat sign in get_history

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 6 years ago
parent
commit
7a0e8bb343
  1. 4
      electrum/lnworker.py

4
electrum/lnworker.py

@ -194,10 +194,10 @@ class LNWorker(PrintError):
continue
item = {
'channel_id': bh2u(chan.channel_id),
'txid':closing_txid,
'txid': closing_txid,
'label': _('Close channel'),
'type': 'channel_closure',
'amount_msat': chan.balance(LOCAL),
'amount_msat': -chan.balance(LOCAL),
'direction': 'sent',
'timestamp': closing_timestamp,
}

Loading…
Cancel
Save