-
Notifications
You must be signed in to change notification settings - Fork 4
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
We shouldn't use hardcoded values here #18
Conversation
This code assumes that the person who broadcasted the commitment transaction is always the funder and the person who tried to spend the broadcasted remote commitment is always funder. This passed our test because that's the only case we test in our end-to-end tests.
should this be applied to m4 first? |
There is two revocation implementation currently in DNL.Kiss one which uses private key and tries to spend whatever commitment tx it can (whether it's broadcasted by us or by the remote party) |
Given that Andrew is going to implement force-closing in m4, then we need this bugfix in m4 first? |
Yes this bug should get fixed for that to work |
Ok then re-target this PR to geewalletLightningMilestone4 instead of master. |
The master branch is broken too but yeah will create a new pull request for that branch |
#19 retargeted. |
I know.
No need, I will rebase master branch on top of geewalletLightningMilestone4 after merging this. Take in account, given that DNL.Kiss is a fork of DNL, it will be constantly a moving target (having force-pushes all the time for the master branch). |
@canndrew please review |
Closing this one then, actually. |
This code assumes that the person who broadcasted the commitment
transaction is always the funder and the person who tried to spend
the broadcasted remote commitment is always funder.
This passed our test because that's the only case we test in our
end-to-end tests.