Skip to content

fix(deps): replace deprecated FeeRate::from_sat_per_vb_unchecked#51

Merged
ValuedMammal merged 1 commit intobitcoindevkit:masterfrom
noahjoeris:fix/deps
Apr 29, 2026
Merged

fix(deps): replace deprecated FeeRate::from_sat_per_vb_unchecked#51
ValuedMammal merged 1 commit intobitcoindevkit:masterfrom
noahjoeris:fix/deps

Conversation

@noahjoeris
Copy link
Copy Markdown
Contributor

Description

  • FeeRate::from_sat_per_vb_unchecked got deprecated in bitcoin-units 0.1.3, which broke CI
  • I swapped it for FeeRate::from_sat_per_vb(n) everywhere
  • I went with from_sat_per_vb instead of from_sat_per_vb_u32 for compatibility. from_sat_per_vb_u32 would require a direct bitcoin-units >= 0.1.3 constraint; bitcoin only requires bitcoin-units = "0.1.0", so it can still resolve to versions without that API

Copy link
Copy Markdown
Collaborator

@ValuedMammal ValuedMammal left a comment

Choose a reason for hiding this comment

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

ACK a6217bf

@ValuedMammal ValuedMammal merged commit d9ee35c into bitcoindevkit:master Apr 29, 2026
7 checks passed
@ValuedMammal ValuedMammal mentioned this pull request Apr 29, 2026
21 tasks
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.

2 participants