fix #join

This commit is contained in:
Matias Alejo Garcia 2014-10-20 09:39:26 -03:00
commit 8765b02883

View file

@ -633,7 +633,7 @@ Identity.prototype.joinWallet = function(opts, cb) {
walletOpts.network = joinNetwork;
walletOpts.privateKey = privateKey;
walletOpts.nickname = opts.nickname || this.profile.getName();
walletOpts.nickname = opts.nickname || self.profile.getName();
if (opts.password)
walletOpts.password = opts.password;