Skip to content

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

Open
noahjoeris wants to merge 1 commit intobitcoindevkit:masterfrom
noahjoeris:fix/deps
Open

fix(deps): replace deprecated FeeRate::from_sat_per_vb_unchecked#51
noahjoeris wants to merge 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

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