Browse Source

remove commented code

patch-2
Manuel Araoz 10 years ago
parent
commit
d19ad6f384
  1. 10
      lib/script.js

10
lib/script.js

@ -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))
);
*/
};
/**

Loading…
Cancel
Save