-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fix #62 incorrect hex of the locking script #64
base: master
Are you sure you want to change the base?
Conversation
@deanmlittle can you merge this , and republish it. |
@deanmlittle The current implementation of the interpreter is incomplete and I cannot add tests for rawdata |
Hi, @deanmlittle , I think we can check
Since previous ASM could not correctly represent cases containing malformed NonScriptData, such as: "6a4c0300", the following ASM format is now used:
|
The locking script of the sCrypt contract is somewhat special. After the last opreturn, there may be situations where the data is not stored according to oppushdata. But this is subject to agreement.
For example, under normal circumstances:
But the scrypt contract will have the following situations:
data only has one byte.
We have to deal with this situation. Otherwise, the correct signature cannot be obtained.