1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00

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
commit 0203ede3b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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