Removed base option to toString.
This commit is contained in:
parent
730ccd36b2
commit
78c4af5e4b
@ -110,8 +110,9 @@ defineProperty(BigNumber.prototype, 'toNumber', function(base) {
|
|||||||
return this._bn.toNumber();
|
return this._bn.toNumber();
|
||||||
});
|
});
|
||||||
|
|
||||||
defineProperty(BigNumber.prototype, 'toString', function(base) {
|
defineProperty(BigNumber.prototype, 'toString', function() {
|
||||||
return this._bn.toString(base || 10);
|
//return this._bn.toString(base || 10);
|
||||||
|
return this._bn.toString(10);
|
||||||
});
|
});
|
||||||
|
|
||||||
defineProperty(BigNumber.prototype, 'toHexString', function() {
|
defineProperty(BigNumber.prototype, 'toHexString', function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user