-
Notifications
You must be signed in to change notification settings - Fork 419
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
how can I sign it using bitcoin-php version 1.0? #835
Comments
Decode a transaction |
It still does not work, I'm using the following scripts from the examples folder: I'm uniting both of them to build the Transaction and sign in. But it gives me an error: Uncaught BitWasp\Bitcoin\Exceptions\ScriptQualificationError: Invalid script signature - must be PUSHONLY. |
Unfortunately I can't debug your code without seeing it. Based on the error, you probably put the redeem or output script in the scriptSig instead of pushing it.. |
Your assumption was correct, indeed. It worked. |
Having the raw transaction (non-signed), how can I sign it using bitcoin-php version 1.0?
Originally posted by @Gwinest in #166 (comment)
The text was updated successfully, but these errors were encountered: