-
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
sign a witness utxo in psbt but cant get the signature on the decoded input after signing #34
Comments
If the inputs of the transaction you are signing do not include your current wallet address, it cannot be signed. In this case, if you still want to sign, you need to manually input the toSignInputs parameter. You can try using the toSignInputs parameter to specify your signing inputs. If there are still problems, please post the full signing code as below.
|
@huanniangstudio, thank you for the response, yes , i have the wallet address in the option at index 1 |
When the autoFinalized parameter is true, it will finalize the PSBT operation before returning. After this, you cannot finalize it twice. You could set it to false to try again. |
Ahh ok, so it should returned the hex for the finalized psbt right |
This could be an issue somewhere in the code, a reproducible code example is needed. |
i tried
and |
Your code should be able to sign the index 1, but it may indeed not sign the index 0. Are you sure you have already signed it in advance? |
ahh yes, sorry forgot to provide you the full context |
When you execute the above code and get the content as below, it indicates that the signature is successful.
|
@huanniangstudio , if you need more info this is the psbt im trying to sign , its a combined psbt of a base psbt and signed psbt from 3 other multisig wallets |
i get the data as
|
The text was updated successfully, but these errors were encountered: