script: minor.
This commit is contained in:
parent
b80064320b
commit
bbbe537574
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user