Script: remove clone
This commit is contained in:
parent
41c3b68293
commit
8929c51d98
@ -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…
Reference in New Issue
Block a user