-
Notifications
You must be signed in to change notification settings - Fork 57
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
Do not let user try recovery if one block left #1144
base: master
Are you sure you want to change the base?
Conversation
For the moment I assigned it to v7 since as we were discussing yesterday it is not strictly required to have it immediately (it is a behavior that should not be "regular" Liana wallet usage) |
updated wording as offered by @jp1ac4 on discord: |
Some minor comments:
Also, was the green bar below the sentence already present? I didn't get it last time I tried iirc. |
i'll do this
|
f3f74a8
to
9b50fd3
Compare
Great thanks! The only nit that I notice remaining (not part of this change but I just noticed) is the fact that "can recover X coins" should be singular (coin) when the coin is 1. We could maybe use this PR to correct also this nit. |
Checking again the original issue, I'm wondering if the problem was that the coin that had a recovery path available at the next block was still unconfirmed (see #1102 (comment)). The |
You right i guess we were both (Kevin and I) testing w/ a 1 block recovery timelock, i'll look for a way to handle this edge case. |
i've added a new |
A 1-block relative locktimed transactions cannot be included in the same block as its parent. Only transactions valid in the next block can be broadcast on the network. That's the reason why |
Moving this and the relative issue to v8 since as per team discussion we won't be able to properly review and test it given the close deadline. |
Closes #1102 and resolve @kloaec issue where 1 block recovery path was displayed recoverable even if tx not confirmed.