Skip to content
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

signpsbt should be able to derive the scriptPubKey and witness script given only the txin hash and vout #1758

Open
matvore opened this issue Jan 12, 2025 · 0 comments

Comments

@matvore
Copy link

matvore commented Jan 12, 2025

wallet-tool.py signpsbt requires the scriptPubKey and apparently the witness script (for fidelity bond utxos) in the PSBT input maps.

When you create a PSBT with Bitcoin Core's createpsbt, you can only set the txin hash and vout values, so creating a psbt for signpsbt requires some specialized tool or script.

Let me know if you need more detailed repro steps. Any suggested workaround would be appreciated.

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

No branches or pull requests

1 participant