Max Satosis of Flo > MAX_JAVASCRIPT_INT

This commit is contained in:
Sky Young 2018-05-10 14:36:28 -07:00
parent 426431b251
commit 2c1d46c206

View File

@ -861,7 +861,8 @@ util.memoryUsage = function memoryUsage() {
util.toFixed = function toFixed(num, exp) {
assert(typeof num === 'number');
assert(Number.isSafeInteger(num), 'Invalid integer value.');
// The max Flo is 160m, which when you count the satoshis of, it is larger than the max safe integer value
// assert(Number.isSafeInteger(num), 'Invalid integer value.');
let sign = '';