2
0
mirror of synced 2025-02-24 12:08:10 +00:00

Removed base option to toString.

This commit is contained in:
ricmoo 2017-03-08 01:51:28 -05:00
parent 730ccd36b2
commit 78c4af5e4b

View File

@ -110,8 +110,9 @@ defineProperty(BigNumber.prototype, 'toNumber', function(base) {
return this._bn.toNumber();
});
defineProperty(BigNumber.prototype, 'toString', function(base) {
return this._bn.toString(base || 10);
defineProperty(BigNumber.prototype, 'toString', function() {
//return this._bn.toString(base || 10);
return this._bn.toString(10);
});
defineProperty(BigNumber.prototype, 'toHexString', function() {