Fixed typo in BigNumber error (#1164).

This commit is contained in:
Richard Moore 2020-11-22 16:38:28 -05:00
parent 20defec9f1
commit fbbe4ad638
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

@ -201,7 +201,7 @@ export class BigNumber implements Hexable {
} else if (arguments[0] === 16) {
logger.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()", Logger.errors.UNEXPECTED_ARGUMENT, { });
} else {
logger.throwError("BigNumber.toString does not accept parametes", Logger.errors.UNEXPECTED_ARGUMENT, { });
logger.throwError("BigNumber.toString does not accept parameters", Logger.errors.UNEXPECTED_ARGUMENT, { });
}
}
return toBN(this).toString(10);