Skip to content

Commit

Permalink
Fixed typo in BigNumber error (#1164).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Nov 22, 2020
1 parent 20defec commit fbbe4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bignumber/src.ts/bignumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fbbe4ad

Please sign in to comment.