Skip to content

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