Browse Source

tx_valid tests passing!

patch-2
Manuel Araoz 10 years ago
parent
commit
cd00b3ebe5
  1. 1
      lib/script_interpreter.js
  2. 2
      test/script_interpreter.js

1
lib/script_interpreter.js

@ -162,7 +162,6 @@ ScriptInterpreter.prototype.checkPubkeyEncoding = function(buf) {
* bitcoind commit: b5d1b1092998bc95313856d535c632ea5a8f9104
*/
ScriptInterpreter.prototype.evaluate = function() {
console.log(this.script.toString());
if (this.script.toBuffer().length > 10000) {
this.errstr = 'SCRIPT_ERR_SCRIPT_SIZE';
return false;

2
test/script_interpreter.js

@ -222,7 +222,7 @@ describe('ScriptInterpreter', function() {
testAllFixtures(script_invalid, false);
});
describe.only('bitcoind transaction evaluation fixtures', function() {
describe('bitcoind transaction evaluation fixtures', function() {
var c = 0;
tx_valid.forEach(function(vector) {
if (vector.length === 1) {

Loading…
Cancel
Save