This commit is contained in:
Matias Alejo Garcia 2014-10-27 15:00:08 -03:00
commit 25ba346489

View file

@ -143,7 +143,6 @@ Identity.open = function(opts, cb) {
* @param {Function} cb
*/
Identity.createFromPartialJson = function(jsonString, opts, callback) {
var self = this;
var exported;
try {
exported = JSON.parse(jsonString);
@ -155,7 +154,7 @@ Identity.createFromPartialJson = function(jsonString, opts, callback) {
identity.retrieveWalletFromStorage(walletId, {}, function(error, wallet) {
if (!error) {
identity.wallets[wallet.getId()] = wallet;
self.bindWallet(w);
identity.bindWallet(wallet);
wallet.netStart();
}
callback(error, wallet);