kallerosenbaum / grokkingbitcoin

Source repository for Grokking Bitcoin
https://www.manning.com/books/grokking-bitcoin
Other
255 stars 53 forks source link

Answer to exercise 5.10: incorrect P2PKH scripts (s/OP_EQUAL/OP_EQUALVERIFY/) #25

Closed theStack closed 2 years ago

theStack commented 2 years ago

The image in the answer to exercise 5.10 (https://github.com/kallerosenbaum/grokkingbitcoin/blob/master/images/app2/appb-01.ai) shows two output scripts that don't match the P2PKH type:

___ output script
actual OP_DUP OP_HASH160 OP_EQUAL OP_CHECKSIG
expected OP_DUP OP_HASH160 OP_EQUALVERIFY OP_CHECKSIG

Would have liked to open a pull request, but unfortunately I don't have the tool available to edit .ai files, so it's opened as an issue.

By the way, great book so far, I enjoy very much reading it! 🚀

kallerosenbaum commented 2 years ago

Nice catch thank you very much!