<signature> <pubkey>
, which is incorrect. It should say <signature> <witnessScript>
as specified for P2WSH in BIP141.
<signature> <pubkey>
, which is incorrect. It should say <signature> <witnessScript>
as specified for P2WSH in BIP141.
89@@ -90,7 +90,7 @@ month = 1 + index % 12
90 To derive the address from the above calculated public key and timelock, we create a <tt>witness script</tt> which locks the funds until the <tt>timelock</tt>, and then checks the signature of the <tt>derived_key</tt>. The <tt>witness script</tt> is hashed with SHA256 to produce a 32-byte hash value that forms the <tt>witness program</tt> in the output script of the P2WSH address.
91
92 witnessScript: <timelock> OP_CHECKLOCKTIMEVERIFY OP_DROP <derived_key> OP_CHECKSIG
93- witness: <signature> <pubkey>
94+ witness: <signature> <witnessScript>
<pubkey>
does not need to be provided as it is already in the witnessScript
. I apologize, that looks like a copy-paste error. Thanks @michael1011 :pray: