Describe the enhancement
In the new release of rust-bitcoin 0.32.0 the new Weight type has been introduced through bitcoin-units 0.1.1, it's not being explicitly used in the PR #1448, but it should be instead of using .to_wu() as usize conversions.
Use case
Use the proper Weight type/API, instead of the current usize, for referring to weight units.
Additional context
Describe the enhancement
In the new release of rust-bitcoin 0.32.0 the new Weight type has been introduced through
bitcoin-units0.1.1, it's not being explicitly used in the PR #1448, but it should be instead of using.to_wu() as usizeconversions.Use case
Use the proper
Weighttype/API, instead of the currentusize, for referring to weight units.Additional context