|
|
@ -198,16 +198,6 @@ Script.prototype.isPublicKeyHashIn = function() { |
|
|
|
this.chunks[0].buf.length <= 0x49 && |
|
|
|
this.chunks[1].buf && |
|
|
|
PublicKey.isValid(this.chunks[1].buf)); |
|
|
|
/* |
|
|
|
( |
|
|
|
// compressed public key
|
|
|
|
( |
|
|
|
(this.chunks[1].buf[0] === 0x02 || this.chunks[1].buf[0] === 0x03) && |
|
|
|
this.chunks[1].buf.length === 0x21) || |
|
|
|
// uncompressed public key
|
|
|
|
(this.chunks[1].buf[0] === 0x04 && this.chunks[1].buf.length === 0x41)) |
|
|
|
); |
|
|
|
*/ |
|
|
|
}; |
|
|
|
|
|
|
|
/** |
|
|
|