From bbbe537574b5a16626317daa00a52900963c0706 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 18 Jan 2017 16:38:36 -0800 Subject: [PATCH] script: minor. --- lib/script/script.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/script/script.js b/lib/script/script.js index c82859ff..d82f8899 100644 --- a/lib/script/script.js +++ b/lib/script/script.js @@ -2053,7 +2053,8 @@ Script.prototype.getAddress = function getAddress() { /** * Get the hash160 of the raw script. - * @param {Buffer} + * @param {String?} enc + * @returns {Hash} */ Script.prototype.hash160 = function hash160(enc) { @@ -2065,7 +2066,8 @@ Script.prototype.hash160 = function hash160(enc) { /** * Get the sha256 of the raw script. - * @param {Buffer} + * @param {String?} enc + * @returns {Hash} */ Script.prototype.sha256 = function sha256(enc) {