73b325aec5
Sometimes people don't remember the exact number of decimal places supported by denomination or don't want to count (e.g. when converting fiat to BTC the calculator may yield too precise value). It's helpful to say in error message at which digit the precision is too high. This adds `TooPreciseError` struct containing the information and improves the error message to display it. |
||
---|---|---|
.. | ||
amount.rs | ||
lib.rs |