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

tests should fail this commit #3735

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

twosatsmaxi
Copy link
Contributor

No description provided.

@twosatsmaxi
Copy link
Contributor Author

but it doesn't because failing test is missing here as the branch name also suggests.

@twosatsmaxi
Copy link
Contributor Author

twosatsmaxi commented May 8, 2024

@gmart7t2 @raphjaph : how do I forcefully spend the commitment here to write a failing test? can do it using bitcoin-cli but not sure, can use ord wallet send but it doesn't provide a way to add specific UTXO.

@gmart7t2
Copy link
Contributor

gmart7t2 commented May 8, 2024

@gmart7t2 @raphjaph : how do I forcefully spend the commitment here to write a failing test? can do it using bitcoin-cli but not sure, can use ord wallet send but it doesn't provide a way to add specific UTXO.

Look at how the code sends the etch reveal tx after waiting for maturity. Can you use the same method to try sending it early?

@raphjaph
Copy link
Collaborator

You can use the TransactionTemplate to construct a transaction with the commit input.

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 this pull request may close these issues.

None yet

3 participants