Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 8, Exercise 5 Error #250

Open
vvronskyFX opened this issue Aug 12, 2022 · 0 comments
Open

Chapter 8, Exercise 5 Error #250

vvronskyFX opened this issue Aug 12, 2022 · 0 comments

Comments

@vvronskyFX
Copy link

Working on Exercise 5 in Chapter 8, I'm trying to get through to the solution of verifying p2sh transaction.

I've modified sig_hash and verify_input. I also matched up to what was in the solution.

You'll see my code + output and then I share the book's solution code.

my def sig_hash ... code:

image

my def verify_input ... code:

image

My output after running the cell:

image

My attempt at de-bugging:

It says "NotImplementedError" there and I'm not sure where it's getting that. I looked in my "op.py" file and go to error line 719. Seems like the code is hitting this block:
image

But I still can't see what could be the issue.

Now the Book's Solution code:

image

I've been working on this for a couple days to no avail. Has anyone successfully worked through this portion? If so, what did you do to achieve a solution here for an "OK" to pass?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant