1
0

channel details with list of htlcs

This commit is contained in:
Janus
2018-11-19 18:09:43 +01:00
committed by ThomasV
parent 9d32031ca2
commit e3409d32ef
10 changed files with 195 additions and 28 deletions

View File

@@ -250,7 +250,7 @@ class LnAddr(object):
def __str__(self):
return "LnAddr[{}, amount={}{} tags=[{}]]".format(
hexlify(self.pubkey.serialize()).decode('utf-8'),
hexlify(self.pubkey.serialize()).decode('utf-8') if self.pubkey else None,
self.amount, self.currency,
", ".join([k + '=' + str(v) for k, v in self.tags])
)