Merge pull request #1765 from 0xBEEFCAF3/patch-2

BIP119: Fix `OP_EQUALVERIFY` typo
This commit is contained in:
Jon Atack
2025-02-13 10:20:41 -08:00
committed by GitHub

View File

@@ -632,7 +632,7 @@ manipulation opcodes.
As an example, the following code checks an input index argument and As an example, the following code checks an input index argument and
concatenates it to the template and checks the template matches the transaction. concatenates it to the template and checks the template matches the transaction.
OP_SIZE 4 OP_EQUALVERIF OP_SIZE 4 OP_EQUALVERIFY
<nVersion || nLockTime || input count || sequences hash || output count || outputs hash> <nVersion || nLockTime || input count || sequences hash || output count || outputs hash>
OP_SWAP OP_CAT OP_SHA256 OP_CHECKTEMPLATEVERIFY OP_SWAP OP_CAT OP_SHA256 OP_CHECKTEMPLATEVERIFY