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

@@ -595,7 +595,7 @@ def extract_nodeid(connect_contents: str) -> Tuple[bytes, str]:
raise ConnStringFormatError(_('At least a hostname must be supplied after the at symbol.'))
try:
node_id = bfh(nodeid_hex)
assert len(node_id) == 33
assert len(node_id) == 33, len(node_id)
except:
raise ConnStringFormatError(_('Invalid node ID, must be 33 bytes and hexadecimal'))
return node_id, rest