(minor) fix typo
This commit is contained in:
@@ -644,8 +644,7 @@ class Channel(Logger):
|
|||||||
"""
|
"""
|
||||||
assert type(whose) is HTLCOwner
|
assert type(whose) is HTLCOwner
|
||||||
ctn = self.get_next_ctn(ctx_owner)
|
ctn = self.get_next_ctn(ctx_owner)
|
||||||
return self.balance(whose, ctx_owner=ctx_owner, ctn=ctn)
|
return self.balance(whose, ctx_owner=ctx_owner, ctn=ctn) - self.unsettled_sent_balance(ctx_owner)
|
||||||
- self.unsettled_sent_balance(ctx_owner)
|
|
||||||
|
|
||||||
def unsettled_sent_balance(self, subject: HTLCOwner = LOCAL):
|
def unsettled_sent_balance(self, subject: HTLCOwner = LOCAL):
|
||||||
ctn = self.get_next_ctn(subject)
|
ctn = self.get_next_ctn(subject)
|
||||||
|
|||||||
Reference in New Issue
Block a user