For 4-byte-push case, the push opcode was not counted; the length element is 1-5 bytes, not 4.
Also tweaks the 'signet header' name (removing 'scriptSig').
For 4-byte-push case, the push opcode was not counted; the length element is 1-5 bytes, not 4.
Also tweaks the 'signet header' name (removing 'scriptSig').
27 | @@ -28,7 +28,7 @@ A new type of network ("signet"), which takes an additional consensus parameter 28 | 29 | The witness commitment of the coinbase transaction is extended to include a secondary commitment (the signature/solution) of either: 30 | 31 | - 1-4 bytes - Push the following (4 + x + y) bytes 32 | + 1-5 bytes - Push the following (4 + x + y) bytes 33 | 4 bytes - Signet scriptSig header (0xecc7daa2)
4 bytes - Signet header (0xecc7daa2)
Could fixup this one as well when touching the adjacent line?
Done!
ACK 8aaefbe8ea08e2fa0153d17b0348b60b8f4a6bd5
ACK