Comparing version 0.3.5 to 0.3.6
@@ -316,7 +316,7 @@ /** | ||
if (Math.floor(Math.log(n) / Math.log(10) + 1) <= 15) { | ||
bn = new BigNumber(n); | ||
bn = new BigNumber(n, 10); | ||
} else { | ||
n = n.toString(); | ||
try { | ||
bn = new BigNumber(n); | ||
bn = new BigNumber(n, 10); | ||
} catch (exc) { | ||
@@ -333,3 +333,3 @@ if (this.is_hex(n)) { | ||
try { | ||
bn = new BigNumber(n); | ||
bn = new BigNumber(n, 10); | ||
} catch (exc) { | ||
@@ -352,3 +352,3 @@ if (this.is_hex(n)) { | ||
try { | ||
bn = new BigNumber(n); | ||
bn = new BigNumber(n, 10); | ||
} catch (ex) { | ||
@@ -355,0 +355,0 @@ try { |
{ | ||
"name": "augur-abi", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "Contract ABI serialization", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1531801