refactor scan after importing a wallet

This commit is contained in:
Matias Alejo Garcia 2015-11-14 17:29:45 -03:00
commit 8c18995ae0
4 changed files with 25 additions and 20 deletions

View file

@ -129,11 +129,6 @@ angular.module('copayApp.controllers').controller('joinController',
return;
}
$timeout(function() {
var fc = profileService.focusedClient;
if (fc.isComplete() && (opts.mnemonic || opts.externalSource || opts.extendedPrivateKey))
$rootScope.$emit('Local/WalletImported', fc.credentials.walletId);
}, 2000);
});
}, 100);
};