fix callback in sent

This commit is contained in:
Matias Alejo Garcia 2014-04-21 11:28:25 -03:00
commit 7f20106d71
6 changed files with 27 additions and 18 deletions

View file

@ -212,6 +212,7 @@ 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');