script: minor.

This commit is contained in:
Christopher Jeffrey 2017-01-18 16:38:36 -08:00
parent b80064320b
commit bbbe537574
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -2053,7 +2053,8 @@ Script.prototype.getAddress = function getAddress() {
/** /**
* Get the hash160 of the raw script. * Get the hash160 of the raw script.
* @param {Buffer} * @param {String?} enc
* @returns {Hash}
*/ */
Script.prototype.hash160 = function hash160(enc) { Script.prototype.hash160 = function hash160(enc) {
@ -2065,7 +2066,8 @@ Script.prototype.hash160 = function hash160(enc) {
/** /**
* Get the sha256 of the raw script. * Get the sha256 of the raw script.
* @param {Buffer} * @param {String?} enc
* @returns {Hash}
*/ */
Script.prototype.sha256 = function sha256(enc) { Script.prototype.sha256 = function sha256(enc) {