Merge pull request #250 from olalonde/master
Transaction.js: removed confusing this.class assignment in file scope
This commit is contained in:
commit
d09c7ab653
@ -36,7 +36,6 @@ function Script(buffer) {
|
|||||||
this.chunks = [];
|
this.chunks = [];
|
||||||
this.parse();
|
this.parse();
|
||||||
}
|
}
|
||||||
this.class = Script;
|
|
||||||
|
|
||||||
Script.TX_UNKNOWN = TX_UNKNOWN;
|
Script.TX_UNKNOWN = TX_UNKNOWN;
|
||||||
Script.TX_PUBKEY = TX_PUBKEY;
|
Script.TX_PUBKEY = TX_PUBKEY;
|
||||||
|
|||||||
@ -125,7 +125,6 @@ function Transaction(data) {
|
|||||||
}) : [];
|
}) : [];
|
||||||
if (data.buffer) this._buffer = data.buffer;
|
if (data.buffer) this._buffer = data.buffer;
|
||||||
};
|
};
|
||||||
this.class = Transaction;
|
|
||||||
Transaction.In = TransactionIn;
|
Transaction.In = TransactionIn;
|
||||||
Transaction.Out = TransactionOut;
|
Transaction.Out = TransactionOut;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user