lightning: fix DeriveKey pubkey
This commit is contained in:
parent
75a0a725c4
commit
8041ec484f
@ -879,7 +879,7 @@ def DeriveNextKey(json):
|
||||
#m.keyDescriptor.keyLocator.family =
|
||||
#m.keyDescriptor.keyLocator.index =
|
||||
|
||||
m.keyDescriptor.pubKey = fetchPrivKey(None, 9000, globalIdx).secret.to_bytes(32, "big")
|
||||
m.keyDescriptor.pubKey = fetchPrivKey(None, 9000, globalIdx).get_verifying_key().to_string()
|
||||
globalIdx += 1
|
||||
|
||||
msg = json_format.MessageToJson(m)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user