diff --git a/js/models/Identity.js b/js/models/Identity.js index 4615db638..945ccb760 100644 --- a/js/models/Identity.js +++ b/js/models/Identity.js @@ -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;