commit eaf481022098e7edda8217815e6533c041bd69a4
parent 34e236c9b613cd5645d9fe522df42e5c23af76fd
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 6 Mar 2020 09:59:43 +0100
(minor) fix typo
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/electrum/lnchannel.py b/electrum/lnchannel.py
@@ -644,8 +644,7 @@ class Channel(Logger):
"""
assert type(whose) is HTLCOwner
ctn = self.get_next_ctn(ctx_owner)
- return self.balance(whose, ctx_owner=ctx_owner, ctn=ctn)
- - self.unsettled_sent_balance(ctx_owner)
+ return self.balance(whose, ctx_owner=ctx_owner, ctn=ctn) - self.unsettled_sent_balance(ctx_owner)
def unsettled_sent_balance(self, subject: HTLCOwner = LOCAL):
ctn = self.get_next_ctn(subject)