tfix amount_msat sign in get_history - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 7a0e8bb343ad880c5df9bbe56d9d3e2c93f307a5 DIR parent 43d9e0460e858fa668c9d4cf46ab956865bacb4e HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 1 Mar 2019 05:29:42 +0100 fix amount_msat sign in get_history Diffstat: M electrum/lnworker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py t@@ -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, }