This commit is contained in:
Matias Alejo Garcia 2014-11-30 01:11:00 -03:00
commit 1eebaa4e94
3 changed files with 4 additions and 4 deletions

View file

@ -444,7 +444,8 @@ Identity.importFromFullJson = function(str, password, opts, cb) {
* @emits newWallet (walletId)
*/
Identity.prototype.bindWallet = function(w) {
this.wallets[w.getId()] = w;
var self = this;
self.wallets[w.getId()] = w;
log.debug('Binding wallet:' + w.getName());
w.on('txProposalsUpdated', function() {