1
0

ln: save htlc signatures

This commit is contained in:
Janus
2018-07-25 13:50:52 +02:00
committed by ThomasV
parent 9c442586b2
commit a841fa3602
4 changed files with 7 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ is_key = lambda k: k.endswith("_basepoint") or k.endswith("_key")
def maybeDecode(k, v):
assert type(v) is not list
if k in ["node_id", "channel_id", "short_channel_id", "pubkey", "privkey", "current_per_commitment_point", "next_per_commitment_point", "per_commitment_secret_seed", "current_commitment_signature"] and v is not None:
if k in ["node_id", "channel_id", "short_channel_id", "pubkey", "privkey", "current_per_commitment_point", "next_per_commitment_point", "per_commitment_secret_seed", "current_commitment_signature", "current_htlc_signatures"] and v is not None:
return binascii.unhexlify(v)
return v