Open wbobeirne opened 5 years ago
JS floats are imprecise and are limited to 32 bits. Numbers should probably be dealt with in satoshis as strings rather than bitcoins as numbers, and internally it should probably be managed using a library like bn.js.
JS floats are imprecise and are limited to 32 bits. Numbers should probably be dealt with in satoshis as strings rather than bitcoins as numbers, and internally it should probably be managed using a library like bn.js.