When constructing an `Amount` it was observed recently that a `u32` is often big enough. For the same reason we can use a `u32` to construct a fee rate instead of overflowing. Use `_u32`in the constructor and remove the panic. |
||
---|---|---|
.. | ||
amount | ||
fee_rate | ||
locktime | ||
block.rs | ||
fee.rs | ||
internal_macros.rs | ||
lib.rs | ||
parse.rs | ||
result.rs | ||
time.rs | ||
weight.rs |