Files
pezkuwi-apps/packages/react-components
Satoshi Qazi Muhammed e2c83baac9 InputNumber: reject decimals the unit cannot carry
When an amount had more decimals than the selected unit allows, the
function set result to -1 and then overwrote it, so the conversion went
on with a negative exponent. BN computes 10 ** -n as 10 ** n: with 12
chain decimals, "1.1234567890" in milli became 13345678900 instead of
1123456789. Such input is now invalid.

The decimals were also cut to the chain's decimals, which silently
dropped digits of an asset with more decimals than the chain; the cut is
removed, and with it the api argument it was the only use of.
2026-10-10 02:06:12 +04:00
..

@pezkuwi/react-components

WARNING: This is an internal package to pezkuwichain/pezkuwi-apps so is not intended (yet) for broad use.

For the existing sharable components usable in external React-based projects, take a look at the pezkuwichain/pezkuwi-ui documentation