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

Error validating transaction: witness script detected in tx without witness data. #2

Open
hlee4real opened this issue Apr 25, 2024 · 0 comments

Comments

@hlee4real
Copy link

I'm using your code to try to issue a new Rune on btc testnet. however, when I try to boardcast the tx to testnet, it returns the error:

Error validating transaction: witness script detected in tx without witness data.

I think, the error occurs because I'm using taproot address, and it comes from this line

	txin := wire.NewTxIn(outpoint, nil, nil)

I'm quite new to runes and btc, can I gain some helps from you guys? Appriciate so much!

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