Script: remove clone

This commit is contained in:
Daniel Cousens 2014-06-13 10:39:49 +10:00
parent 41c3b68293
commit 8929c51d98

View file

@ -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)
}