-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fix shutdown inputs error #53
Conversation
Can you elaborate on the error encountered? Please give all the context of the transaction whose submission raises error |
this error may be triggered by e2e test, ref: https://github.com/contrun/ckb-pcn-node/actions/runs/9434095793/job/25985824223#step:6:1769
|
There was an overlook in #39 in which I copied some of the old code to build a transaction to consume the funding cell (including commitment transactions and shutdown transaction). This created an wrong transaction. I fixed this error in #57. It seems that the error in building commitment transaction was not caught earlier because the transaction verifier of This PR is closed in favor of #57 |
Seems we mixed commitment signed tx and shutdown tx here, it will make shutdown transaction use the same inputs from funding tx, since funding tx is committed, submit shutdown tx will get an error:
TransactionFailedToResolve: Resolve failed Unknown