reverted some unwanted changes
This commit is contained in:
parent
e0233f02dd
commit
1c9b89f4f3
|
@ -299,8 +299,8 @@ function spec(b) {
|
|||
|
||||
case OP_CAT:
|
||||
// (x1 x2 -- out)
|
||||
v1 = this.stackTop(2);
|
||||
v2 = this.stackTop(1);
|
||||
var v1 = this.stackTop(2);
|
||||
var v2 = this.stackTop(1);
|
||||
this.stackPop();
|
||||
this.stackPop();
|
||||
this.stack.push(Buffer.concat([v1, v2]));
|
||||
|
|
|
@ -88,7 +88,7 @@ function spec(b) {
|
|||
|
||||
TransactionOut.prototype.serialize = function serialize() {
|
||||
var slen = util.varIntBuf(this.s.length);
|
||||
return Buffer.concat([his.v, slen, this.s]);
|
||||
return Buffer.concat([this.v, slen, this.s]);
|
||||
};
|
||||
|
||||
function Transaction(data) {
|
||||
|
@ -153,7 +153,7 @@ function spec(b) {
|
|||
bufs.push(txout.serialize());
|
||||
});
|
||||
|
||||
buf = new Buffer(4);
|
||||
var buf = new Buffer(4);
|
||||
buf.writeUInt32LE(this.lock_time, 0);
|
||||
bufs.push(buf);
|
||||
|
||||
|
|
Loading…
Reference in New Issue