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

Invalid Schnorr Siganture - Example: Basic Pay-to-Pubkey Spending #40

Closed
arminherbsthofer opened this issue May 24, 2024 · 1 comment
Closed

Comments

@arminherbsthofer
Copy link

Hi, when I follow the example “Basic Pay-to-Pubkey Spending” the Signature check at the end of the script returns True, however, when I submit the transaction hash to mempool.space, it tells me: non-mandatory-script-verify-flag Invalid-Schnorr-Signature.

Is the script correct? I am using testnet.

@cmdruid
Copy link
Owner

cmdruid commented Jun 30, 2024

Hello. I apologize for missing this. The error "non-mandatory-script-verify-flag Invalid-Schnorr-Signature" has to do with the signature being invalid. It could also do with the sighash being invalid as well, or the key not being properly tweaked.

I would need to know more information. Please feel free to re-open this issue if you still need help.

@cmdruid cmdruid closed this as completed Jun 30, 2024
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

2 participants