Equibit / wallet-ui

0 stars 1 forks source link

Issues/1110 orders page freeze #1111

Closed elliot-tio closed 6 years ago

elliot-tio commented 6 years ago

For #1110

When creating a partial order with an amount less than 1 (eg. 0.0001), the format-coin function attempts to round the value to a certain precision value. If the value is less than the decimal places given (eg. precision = 2, value = 0.0001), the value is rounded to 0, which produces an error and causes the orders page to freeze.