-
Notifications
You must be signed in to change notification settings - Fork 380
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
elements-cli decodepsbt doesn't set inputs.witness_utxo.asset field #1371
Comments
cc @apoelstra |
This is super weird. I don't see anywhere in the code that the asset would be being dropped. In the source code for The wallet RPCs appear not to set |
I had an |
It could be |
Ah... ok, de/serialization is done with But the So this bug might merely be in the JSON display. |
nonce shouldn't be considered part of the utxo, so let's not pull that. It is loaded up with some random uninitialized memory sometimes. ... OTOH, if it is encoded in the PSET data, it should reflect that. Maybe we need another bug report: nonces in psbt utxo's are f'd up. |
So we already have #1187 for the nonce issue. We can make this the |
Example:
Without the "asset" field from the utxo data, a taproot signature cannot be made.
Other PSET style commands such as
walletcreatefundedpsbt
appear to have the same issue.I'm not really sure how/if taproot PSET even works at all.
The text was updated successfully, but these errors were encountered: