add subscribe to initial shared address

This commit is contained in:
Matias Alejo Garcia 2014-12-12 00:21:42 -03:00
commit d919230124
3 changed files with 8 additions and 5 deletions

View file

@ -498,6 +498,7 @@ PublicKeyRing.prototype.getCosigner = function(pubKey) {
PublicKeyRing.prototype.buildAddressCache = function() {
var ret = [];
var self = this;
_.each(this.indexes, function(index) {
for (var i = 0; i < index.receiveIndex; i++) {
self._getAddress(i, false, index.copayerIndex);