Fixed typo in BigNumber error (#1164).
This commit is contained in:
parent
20defec9f1
commit
fbbe4ad638
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user