lightning: scalarmult result is just a hash, not pubkey
This commit is contained in:
parent
c2618ecae2
commit
c3bf4673ee
@ -903,7 +903,7 @@ def ScalarMult(json):
|
||||
|
||||
m = rpc_pb2.ScalarMultResponse()
|
||||
|
||||
m.pubKey = pubkFromECKEY(EC_KEY(c.digest()))
|
||||
m.hashResult = c.digest()
|
||||
|
||||
msg = json_format.MessageToJson(m)
|
||||
return msg
|
||||
|
||||
Loading…
Reference in New Issue
Block a user