Skip to content

Correct the directionality of liquidity non-update messages #1751

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

Conversation

TheBlueMatt
Copy link
Collaborator

When we log liquidity updates, if we decline to update anything as the new bounds are already within the old bounds, the directionality of the log entries was reversed.

While we're at it, we also log the old values.

@codecov-commenter
Copy link

codecov-commenter commented Oct 5, 2022

Codecov Report

Base: 90.73% // Head: 90.69% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (5d0deac) compared to base (7544030).
Patch coverage: 75.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1751      +/-   ##
==========================================
- Coverage   90.73%   90.69%   -0.04%     
==========================================
  Files          87       87              
  Lines       46713    46715       +2     
  Branches    46713    46715       +2     
==========================================
- Hits        42383    42369      -14     
- Misses       4330     4346      +16     
Impacted Files Coverage Δ
lightning/src/routing/scoring.rs 96.14% <75.00%> (+<0.01%) ⬆️
lightning/src/chain/onchaintx.rs 94.71% <0.00%> (-0.92%) ⬇️
lightning-net-tokio/src/lib.rs 76.73% <0.00%> (-0.31%) ⬇️
lightning/src/ln/functional_tests.rs 96.88% <0.00%> (-0.17%) ⬇️

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

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

tnull
tnull previously approved these changes Oct 5, 2022
tnull
tnull previously approved these changes Oct 6, 2022
When we log liquidity updates, if we decline to update anything as
the new bounds are already within the old bounds, the
directionality of the log entries was reversed.

While we're at it, we also log the old values.
@TheBlueMatt
Copy link
Collaborator Author

Amended (the commit timestamp) and pushed to make f'ing Actions actually run the job...

@valentinewallace valentinewallace merged commit d9f5c40 into lightningdevkit:main Oct 7, 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.

5 participants