Skip to content

Fix rapid-gossip-sync warning and version number #1499

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

tnull
Copy link
Contributor

@tnull tnull commented May 27, 2022

This fixes an unreachable warning during tests that was introduced with #1155.

TheBlueMatt
TheBlueMatt previously approved these changes May 27, 2022
@codecov-commenter
Copy link

codecov-commenter commented May 27, 2022

Codecov Report

Merging #1499 (bdc2a47) into main (08ab658) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1499   +/-   ##
=======================================
  Coverage   90.95%   90.95%           
=======================================
  Files          80       80           
  Lines       42689    42689           
  Branches    42689    42689           
=======================================
  Hits        38827    38827           
  Misses       3862     3862           
Impacted Files Coverage Δ
lightning-rapid-gossip-sync/src/lib.rs 90.32% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 08ab658...bdc2a47. Read the comment docs.

@tnull tnull force-pushed the 2022-05-fix-unreachable-warning branch from ba81317 to bdc2a47 Compare May 27, 2022 01:14
@tnull tnull changed the title Fix 'unreachable' warning during tests. Fix rapid-gossip-sync warning and version number May 27, 2022
@@ -197,6 +197,7 @@ mod tests {
println!("{}", error_string);
return;
}
#[cfg(require_route_graph_test)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary? If require_route_graph_test is not active, this line would already not be getting hit to begin with.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol nvm, gotcha.

@TheBlueMatt TheBlueMatt merged commit 3de59ce into lightningdevkit:main May 27, 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