Skip to content

Fix incremental relay constant name in docs #3565

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
merged 1 commit into from
Jan 30, 2025

Conversation

arik-so
Copy link
Contributor

@arik-so arik-so commented Jan 27, 2025

Trivial #3457 followup.

Comment on lines 1243 to 1244
/// fee and the corresponding updated feerate. If fee is under [`INCREMENTAL_RELAY_FEE_SAT_PER_1000_WEIGHT`],
/// we return nothing.
Copy link
Contributor

Choose a reason for hiding this comment

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

Except we should still use FEERATE_FLOOR_SATS_PER_KW here, since we're talking about the min feerate, not the incremental feerate.

Suggested change
/// fee and the corresponding updated feerate. If fee is under [`INCREMENTAL_RELAY_FEE_SAT_PER_1000_WEIGHT`],
/// we return nothing.
/// fee and the corresponding updated feerate. If fee is under [`FEERATE_FLOOR_SATS_PER_KW`],
/// we return nothing.
///
/// [`FEERATE_FLOOR_SATS_PER_KW`]: crate::chain::chaininterface::FEERATE_FLOOR_SATS_PER_KW

Copy link
Contributor

@morehouse morehouse left a comment

Choose a reason for hiding this comment

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

LGTM

@TheBlueMatt TheBlueMatt merged commit 93e2da4 into lightningdevkit:main Jan 30, 2025
25 checks passed
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.

3 participants