(minor) fix typo

This commit is contained in:
ThomasV 2020-03-06 09:59:43 +01:00
parent 34e236c9b6
commit eaf4810220

View file

@ -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)