Merge pull request #1214 from matiu/bug/join-wallet

Bug/join wallet
This commit is contained in:
Gustavo Maximiliano Cortez 2014-08-28 10:14:45 -03:00
commit 6af571547e
3 changed files with 28 additions and 14 deletions

View file

@ -120,7 +120,7 @@ angular.module('copayApp.controllers').controller('JoinController',
$scope.loading = false;
if (err || !w) {
if (err === 'joinError')
notification.error('Can\'t find peer.');
notification.error('Fatal error connecting to Insight server');
else if (err === 'walletFull')
notification.error('The wallet is full');
else if (err === 'badNetwork')