reverted some unwanted changes

This commit is contained in:
Manuel Araoz 2014-02-18 17:58:16 -03:00
parent e0233f02dd
commit 1c9b89f4f3
2 changed files with 4 additions and 4 deletions

View File

@ -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]));

View File

@ -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);