Transaction: remove untested (and broken) functionality
This commit is contained in:
parent
ee66c41dd4
commit
8c5c0a13a6
1 changed files with 0 additions and 4 deletions
|
@ -21,10 +21,6 @@ function Transaction(doc) {
|
||||||
this.outs = []
|
this.outs = []
|
||||||
|
|
||||||
if (doc) {
|
if (doc) {
|
||||||
if (typeof doc == "string" || Array.isArray(doc)) {
|
|
||||||
doc = Transaction.fromBuffer(doc)
|
|
||||||
}
|
|
||||||
|
|
||||||
if (doc.hash) this.hash = doc.hash;
|
if (doc.hash) this.hash = doc.hash;
|
||||||
if (doc.version) this.version = doc.version;
|
if (doc.version) this.version = doc.version;
|
||||||
if (doc.locktime) this.locktime = doc.locktime;
|
if (doc.locktime) this.locktime = doc.locktime;
|
||||||
|
|
Loading…
Add table
Reference in a new issue