1
0

ln: save remote node_id in channel

This commit is contained in:
Janus
2018-05-28 14:20:30 +02:00
committed by ThomasV
parent 8ba63380b4
commit 4268be9093
2 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ from . import lnrouter
is_key = lambda k: k.endswith("_basepoint") or k.endswith("_key")
def maybeDecode(k, v):
if k in ["short_channel_id", "pubkey", "privkey", "last_per_commitment_point", "next_per_commitment_point", "per_commitment_secret_seed"] and v is not None:
if k in ["node_id", "short_channel_id", "pubkey", "privkey", "last_per_commitment_point", "next_per_commitment_point", "per_commitment_secret_seed"] and v is not None:
return binascii.unhexlify(v)
return v