@ -124,7 +124,7 @@ Script.fromString = function(str) {
});
i = i + 2;
} else {
throw new Error('Invalid script');
throw new Error('Invalid script: '+JSON.stringify(str));
}
} else if (opcodenum === Opcode.map.OP_PUSHDATA1 ||
opcodenum === Opcode.map.OP_PUSHDATA2 ||