Skip to content

Conversation

@JeremyRubin
Copy link
Contributor

The previous genericization of the ScriptContext methods permitted some very surprising behaviors that are certainly not intended. The Ctx Parameters should in all cases be a Self parameter as far as I can tell. This PR fixes this issue.

fixes #255 (comment)

Technically, this is a breaking change as the generic paremeter count decreases and it is not generally inferred I think. It's easy to fix, and any code which could not be fixed trivially would be hopelessly broken/buggy.

@JeremyRubin
Copy link
Contributor Author

cc @sanket1729

Copy link
Member

@sanket1729 sanket1729 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 6a89156

Copy link
Contributor

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 6a89156

@sanket1729 sanket1729 merged commit f03261a into rust-bitcoin:master Nov 6, 2021
@apoelstra
Copy link
Member

lol great catch. post-merge concept ACK.

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

Successfully merging this pull request may close these issues.

4 participants