-
Notifications
You must be signed in to change notification settings - Fork 47
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
hash160/ripemd160: concrete hash missing in output script #126
Comments
I also just noticed this inconsistency: In the translation table for the hash functions, the Bitcoin Script uses decimal
While the script structure compilation output prints it in hex
Did a double-take there - would be good to make this consistent and document which format is used for clarity (or maybe use the |
There's also a subtle ~typo. BTW: I'd rather keep the notation |
At https://bitcoin.sipa.be/miniscript/, if I enter this miniscript:
sha256(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
I receive the expected script structure:
For hash160/ripemd160 however, the hash is missing in the script. For example:
hash160(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
results in:(
<a....>
is missing beforeOP_EQUAL
).using
hash160(H)
correctly outputs:The text was updated successfully, but these errors were encountered: