Max Satosis of Flo > MAX_JAVASCRIPT_INT
This commit is contained in:
parent
426431b251
commit
2c1d46c206
@ -861,7 +861,8 @@ util.memoryUsage = function memoryUsage() {
|
|||||||
|
|
||||||
util.toFixed = function toFixed(num, exp) {
|
util.toFixed = function toFixed(num, exp) {
|
||||||
assert(typeof num === 'number');
|
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 = '';
|
let sign = '';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user