remove commented code
This commit is contained in:
parent
eaaab5c7d0
commit
d19ad6f384
|
@ -198,16 +198,6 @@ Script.prototype.isPublicKeyHashIn = function() {
|
||||||
this.chunks[0].buf.length <= 0x49 &&
|
this.chunks[0].buf.length <= 0x49 &&
|
||||||
this.chunks[1].buf &&
|
this.chunks[1].buf &&
|
||||||
PublicKey.isValid(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))
|
|
||||||
);
|
|
||||||
*/
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue