|
|
@ -119,18 +119,6 @@ Script.prototype.isMultiSig = function() { |
|
|
|
this.chunks[this.chunks.length - 1] == OP_CHECKMULTISIG); |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// FOR TESTING
|
|
|
|
var _dumpChunks = function (scriptSig, label) { |
|
|
|
console.log('## DUMP: ' + label + ' ##'); |
|
|
|
for(var i=0; i<scriptSig.chunks.length; i++) { |
|
|
|
console.log('\tCHUNK ', i, scriptSig.chunks[i]); |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
Script.prototype.isP2shScriptSig = function() { |
|
|
|
if( !isSmallIntOp(this.chunks[0]) || this.chunks[0] !==0 ) |
|
|
|
return false; |
|
|
|