Commit d9ee35c
committed
Merge #51: fix(deps): replace deprecated FeeRate::from_sat_per_vb_unchecked
a6217bf fix(deps): replace deprecated FeeRate::from_sat_per_vb_unchecked (Noah Joeris)
Pull request description:
### 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
ACKs for top commit:
ValuedMammal:
ACK a6217bf
Tree-SHA512: e36245370e3fdb0d79faaa12570bea1d54885bdd3af92f97523c1a77db3c033cb8be1feab58af448fb094d81b0bd32b34f483999d23bb12d395a3cb8f626891c3 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
0 commit comments