You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to fix it by myself, but I'm afraid that the spec will change again. So I will not do it for now (unless we are sure that the spec won't change drastically anymore.)
Here is the failing case, tell me if I'm doing something wrong.
or 6382012088aa20131772552c01444cd81360818376a040b7c3b2b7b0a53550ee3edde216cec61b876700686982012088a820ec4916dd28fc4c10d78e287ca5d9cc51ee1ae73cbfde08c6b37324cbfaac8bc58851
Yep, I see ... the problem is that when we are parsing backward after seeing VERIFY, we parse OP_EQUAL and think we're in a pubkeyhash construction, but we're actually in a hashlock construction. We need to split up Terminal::PkH into a NonTerminal::PkHOrHashLock so that we can differentiate these cases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While I was trying to port this library into C# , I found a bug in script deserialization.
I was trying to fix it by myself, but I'm afraid that the spec will change again. So I will not do it for now (unless we are sure that the spec won't change drastically anymore.)
Here is the failing case, tell me if I'm doing something wrong.