lightning: scalarmult result is just a hash, not pubkey

This commit is contained in:
Janus 2018-03-15 12:56:09 +01:00
parent c2618ecae2
commit c3bf4673ee

View File

@ -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