Skip to content

Correct get_claimable_balance version info #1713

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

Merged

Conversation

TheBlueMatt
Copy link
Collaborator

5a8ede0 updated the documentation on get_claimable_balance to note that if a channel went on-chain with an LDK version older than 0.0.108 some
counterparty-revoked-output claimable balances my be missing. However, this failed to account for the fact that we rely on the entirely-new-in-0.0.111
confirmed_commitment_tx_counterparty_output field for some balances as well.

Thus, the comment should have been in terms of 0.0.111, not 0.0.108.

5a8ede0 updated the documentation
on `get_claimable_balance` to note that if a channel went on-chain
with an LDK version older than 0.0.108 some
counterparty-revoked-output claimable balances my be missing.
However, this failed to account for the fact that we rely on the
entirely-new-in-0.0.111
`confirmed_commitment_tx_counterparty_output` field for some
balances as well.

Thus, the comment should have been in terms of 0.0.111, not
0.0.108.
@TheBlueMatt TheBlueMatt added this to the 0.0.111 milestone Sep 9, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #1713 (d29f8ff) into main (3fb3218) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1713      +/-   ##
==========================================
- Coverage   90.84%   90.83%   -0.01%     
==========================================
  Files          86       86              
  Lines       46399    46399              
  Branches    46399    46399              
==========================================
- Hits        42150    42148       -2     
- Misses       4249     4251       +2     
Impacted Files Coverage Δ
lightning/src/chain/channelmonitor.rs 91.23% <ø> (ø)
lightning/src/ln/payment_tests.rs 98.55% <0.00%> (-0.27%) ⬇️
lightning/src/ln/functional_tests.rs 96.82% <0.00%> (-0.06%) ⬇️
lightning/src/ln/channelmanager.rs 84.97% <0.00%> (-0.03%) ⬇️
lightning-net-tokio/src/lib.rs 77.27% <0.00%> (+0.30%) ⬆️
lightning/src/chain/onchaintx.rs 94.94% <0.00%> (+0.91%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@TheBlueMatt TheBlueMatt merged commit ad24b8c into lightningdevkit:main Sep 9, 2022
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.

4 participants