Skip to content

Switch to expose FeeRate::from_sat_per_vb_u32 in bindings#891

Merged
tnull merged 1 commit intolightningdevkit:mainfrom
tnull:2026-04-fix-bitcoin-units-depreaction-warning
Apr 27, 2026
Merged

Switch to expose FeeRate::from_sat_per_vb_u32 in bindings#891
tnull merged 1 commit intolightningdevkit:mainfrom
tnull:2026-04-fix-bitcoin-units-depreaction-warning

Conversation

@tnull
Copy link
Copy Markdown
Collaborator

@tnull tnull commented Apr 27, 2026

Previously, we exposed the FeeRate::from_sat_per_vb_unchecked constructor, which however was now marked deprecated with bitcoin-units v0.1.3 (see
https://docs.rs/bitcoin-units/0.1.3/bitcoin_units/fee_rate/struct.FeeRate.html#method.from_sat_per_vb_unchecked).

Here, we switch to from_sat_per_vb_u32, also fixing our CI job that started to fail on the deprecation warning.

Previously, we exposed the `FeeRate::from_sat_per_vb_unchecked`
constructor, which however was now marked deprecated with
`bitcoin-units` v0.1.3 (see
https://docs.rs/bitcoin-units/0.1.3/bitcoin_units/fee_rate/struct.FeeRate.html#method.from_sat_per_vb_unchecked).

Here, we switch to `from_sat_per_vb_u32`, also fixing our CI job that
started to fail on the deprecation warning.
@ldk-reviews-bot
Copy link
Copy Markdown

ldk-reviews-bot commented Apr 27, 2026

👋 Thanks for assigning @jkczyz as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tnull tnull mentioned this pull request Apr 27, 2026
@jkczyz jkczyz requested review from jkczyz and removed request for wpaulino April 27, 2026 17:19
@tnull tnull merged commit b8123d5 into lightningdevkit:main Apr 27, 2026
21 of 22 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