Script: remove clone
This commit is contained in:
parent
41c3b68293
commit
8929c51d98
1 changed files with 0 additions and 4 deletions
|
@ -78,10 +78,6 @@ Script.fromHex = function(hex) {
|
||||||
Script.EMPTY = Script.fromChunks([])
|
Script.EMPTY = Script.fromChunks([])
|
||||||
|
|
||||||
// Operations
|
// Operations
|
||||||
Script.prototype.clone = function() {
|
|
||||||
return new Script(this.buffer, this.chunks)
|
|
||||||
}
|
|
||||||
|
|
||||||
Script.prototype.getHash = function() {
|
Script.prototype.getHash = function() {
|
||||||
return crypto.hash160(this.buffer)
|
return crypto.hash160(this.buffer)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue