Skip to content

Cannot spend 2 taproot output in one transaction #2041

Answered by guggero
phanquocky asked this question in Q&A
Discussion options

You must be logged in to vote

You need to use a single input fetcher and sighashes for both signature. But you need to add both previous outputs to the same input fetcher, so you need to use MultiPrevOutFetcher instead of the canned one.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by phanquocky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2040 on October 12, 2023 08:50.