works sometimes

This commit is contained in:
Matias Alejo Garcia 2014-04-21 20:28:57 -03:00
commit 4092f0cb9d
6 changed files with 78 additions and 17 deletions

View file

@ -162,6 +162,7 @@ PublicKeyRing.prototype.getRedeemScript = function (index, isChange) {
this._checkIndexRange(index, isChange);
var pubKeys = this.getPubKeys(index, isChange);
console.log('[PublicKeyRing.js.164:index:] getRedeemScript: ',index, isChange); //TODO
var script = Script.createMultisig(this.requiredCopayers, pubKeys);
return script;
};