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

Cannot call FundPSBT with a psbt with only a zero value OP_RETURN output #1841

Closed
benthecarman opened this issue Apr 12, 2022 · 0 comments · Fixed by #1842
Closed

Cannot call FundPSBT with a psbt with only a zero value OP_RETURN output #1841

benthecarman opened this issue Apr 12, 2022 · 0 comments · Fixed by #1842

Comments

@benthecarman
Copy link

When creating trying to fund a psbt that creates an OP_RETURN with 0 value it gives the error PSBT packet must contain at least one input or output. If I change the output to be 1 satoshi, it will work.

example psbt: cHNidP8BACABAAAAAAEAAAAAAAAAAA1qC2hlbGxvIHdvcmxkAAAAAAAA

Seems to be related to btcd expecting witness serialization psbts

more info here:
lightningnetwork/lnd#6386

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

Successfully merging a pull request may close this issue.

1 participant