Skip to content

Conversation

@landabaso
Copy link

Fixes #126

When passing hex values to ripemd160 and hash160 as in: hash160(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) it will generate correct ASM:

OP_SIZE <20> OP_EQUALVERIFY OP_RIPEMD160 <aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa> OP_EQUAL
Not omitting the <aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa>

When using the special value H, ASM will then produce <H> instead of lower case <h>.

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.

hash160/ripemd160: concrete hash missing in output script

1 participant