Merge pull request #121 from matiu/feature/ux13

Feature/ux13
This commit is contained in:
Manuel Aráoz 2014-04-21 13:18:16 -03:00
commit 5f66a179c9
9 changed files with 84 additions and 43 deletions

View file

@ -213,7 +213,6 @@ PublicKeyRing.prototype.getAddresses = function(onlyMain) {
PublicKeyRing.prototype.getRedeemScriptMap = function () {
var ret = {};
console.log('[PublicKeyRing.js.216]', this.changeAddressIndex, this.addressIndex); //TODO
for (var i=0; i<this.changeAddressIndex; i++) {
ret[this.getAddress(i,true)] = this.getRedeemScript(i,true).getBuffer().toString('hex');