diff --git a/index.js b/index.js index c2fdc14d..3564ac21 100644 --- a/index.js +++ b/index.js @@ -310,7 +310,7 @@ exports.isValidPrivate = function (privateKey) { * Accepts "Ethereum public keys" and SEC1 encoded keys. * @method publicToAddress * @param {Buffer} pubKey The two points of an uncompressed key, unless sanitize is enabled - * @param {Boolean} sanitize Accept public keys in other formats + * @param {Boolean} [sanitize=false] Accept public keys in other formats * @return {Buffer} */ exports.pubToAddress = exports.publicToAddress = function (pubKey, sanitize) {