Browse Source

Script: remove clone

hk-custom-address
Daniel Cousens 11 years ago
parent
commit
8929c51d98
  1. 4
      src/script.js

4
src/script.js

@ -78,10 +78,6 @@ Script.fromHex = function(hex) {
Script.EMPTY = Script.fromChunks([])
// Operations
Script.prototype.clone = function() {
return new Script(this.buffer, this.chunks)
}
Script.prototype.getHash = function() {
return crypto.hash160(this.buffer)
}

Loading…
Cancel
Save