From eaf481022098e7edda8217815e6533c041bd69a4 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 6 Mar 2020 09:59:43 +0100 Subject: [PATCH] (minor) fix typo --- electrum/lnchannel.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/electrum/lnchannel.py b/electrum/lnchannel.py index a27714020..1daffcbf0 100644 --- 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)