Transaction: remove unnecessary clone

This commit is contained in:
Daniel Cousens 2014-06-12 16:45:53 +10:00
parent 323f0612d0
commit 005ca31fb3

View file

@ -409,7 +409,7 @@ TransactionIn.prototype.clone = function () {
hash: this.outpoint.hash, hash: this.outpoint.hash,
index: this.outpoint.index index: this.outpoint.index
}, },
script: this.script.clone(), script: this.script,
sequence: this.sequence sequence: this.sequence
}) })
} }
@ -424,7 +424,7 @@ function TransactionOut(data) {
TransactionOut.prototype.clone = function() { TransactionOut.prototype.clone = function() {
return new TransactionOut({ return new TransactionOut({
script: this.script.clone(), script: this.script,
value: this.value, value: this.value,
address: this.address address: this.address
}) })