Skip to content

Conversation

@sanket1729
Copy link
Member

Reported by: @afilini .

This was a copy-paste error on my side :(

@sanket1729 sanket1729 added the bug Something isn't working label Apr 13, 2022
@afilini
Copy link
Contributor

afilini commented Apr 13, 2022

ACK for the change, but I was wondering: why aren't you just returning true there?

Unless something recently changed in master, I'm looking at the docs for rc.2 and I don't see how something other than a XOnlyPublicKey would end up there.

@sanket1729 sanket1729 force-pushed the x_only_fixup_04_2022 branch from 9eefe94 to f74fbe3 Compare April 13, 2022 18:24
This commit can be re-arranged to check that this fails before the fix
@sanket1729 sanket1729 force-pushed the x_only_fixup_04_2022 branch from f74fbe3 to 8212b9c Compare April 13, 2022 18:25
@sanket1729
Copy link
Member Author

@afilini, fixed. Thanks for the suggestion

Copy link
Contributor

@afilini afilini left a comment

Choose a reason for hiding this comment

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

ACK 8212b9c

Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 8212b9c

lgtm

@sanket1729 sanket1729 merged commit 19f4e06 into rust-bitcoin:master Apr 20, 2022
heap-coder added a commit to heap-coder/rust-miniscript that referenced this pull request Sep 27, 2025
…ot be used in non-tr descriptors

8212b9c8c1922a39425c0517d8c1ff8477b69f06 Add breaking test testing x-only keys in non-tr descriptors (sanket1729)
7ef4fdc19fa120a7a4b50d78484c8457db5fe9f2 Enforce that x-only keys cannot be used in non-tr descriptors (sanket1729)

Pull request description:

  Reported by: @afilini .

  This was a copy-paste error on my side :(

ACKs for top commit:
  afilini:
    ACK 8212b9c8c1922a39425c0517d8c1ff8477b69f06
  apoelstra:
    ACK 8212b9c8c1922a39425c0517d8c1ff8477b69f06

Tree-SHA512: 22b71b72eb2ba5207d4581fa358c8146fb103cf0b2b80c6235d1cde8066acad6ed1aaab9cf997f11882981967fc8a869c4b35501f2e203ae1950079f73619439
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants