lightning: ComputeInputScript: signDesc has keyDesc now, no raw pubKey

This commit is contained in:
Janus 2018-03-14 18:44:06 +01:00
parent 8f67179497
commit cf0cf4e585

View File

@ -499,7 +499,7 @@ def ComputeInputScript(json):
req = rpc_pb2.ComputeInputScriptRequest()
json_format.Parse(json, req)
assert len(req.signDesc.pubKey) in [33, 0]
#assert len(req.signDesc.pubKey) in [33, 0]
assert len(req.signDesc.doubleTweak) in [32, 0]
assert len(req.signDesc.sigHashes.hashPrevOuts) == 64
assert len(req.signDesc.sigHashes.hashSequence) == 64