Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Commit 34499ab

Browse files
committed
rm logs and .onlys
1 parent 4adae85 commit 34499ab

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

test/script/interpreter.js

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,6 @@ describe('Interpreter', function() {
331331
var scriptPubkey = Script.fromBitcoindString(vector[1]);
332332
var flags = getFlags(vector[2]);
333333

334-
335-
console.log('[interpreter.js.353:vector:]vector:',scriptSig); //TODO
336-
console.log('[interpreter.js.353:vector:]vector:',scriptPubkey); //TODO
337-
console.log('[interpreter.js.361:amount:]amount:',amount); //TODO
338-
console.log('[interpreter.js.377:witness:]wit:',witness); //TODO
339-
340334
var hashbuf = new Buffer(32);
341335
hashbuf.fill(0);
342336
var credtx = new Transaction();
@@ -364,12 +358,11 @@ console.log('[interpreter.js.377:witness:]wit:',witness); //TODO
364358
satoshis: amount,
365359
}));
366360

367-
console.log('[interpreter.js.370:flags:]',flags); //TODO
368361
var interp = new Interpreter();
369362
var verified = interp.verify(scriptSig, scriptPubkey, spendtx, 0, flags, witness, amount);
370363
verified.should.equal(expected);
371364
};
372-
describe.only('bitcoind script evaluation fixtures', function() {
365+
describe('bitcoind script evaluation fixtures', function() {
373366

374367
var testAllFixtures = function(set) {
375368
var c = 0;
@@ -386,9 +379,6 @@ console.log('[interpreter.js.370:flags:]',flags); //TODO
386379
witness = extra.map(function(x) {
387380
return Buffer.from(x,'hex');
388381
});
389-
console.log('[interpreter.js.379:descstr:]',vector[4]); //TODO
390-
console.log('[interpreter.js.373:witness:]',witness); //TODO
391-
console.log('[interpreter.js.368:amount:]',amount); //TODO
392382
} else {
393383
return;
394384
}
@@ -401,9 +391,6 @@ console.log('[interpreter.js.368:amount:]',amount); //TODO
401391
it('should ' + vector[3] + ' script_tests ' +
402392
'vector #' + c + ': ' + fullScriptString + comment,
403393
function() {
404-
console.log('[interpreter.js.381:vector:]',vector); //TODO
405-
console.log('[interpreter.js.373:witness:]',witness); //TODO
406-
407394
testFixture(vector, expected, witness, amount);
408395
});
409396
});

0 commit comments

Comments
 (0)