From 8765b02883d8e08f9cd92e7216b99055c09f1b56 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Mon, 20 Oct 2014 09:39:26 -0300 Subject: [PATCH] fix #join --- js/models/Identity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;