checks network match when joining a wallet
This commit is contained in:
parent
c5a3049b9d
commit
4ae3748414
5 changed files with 26 additions and 5 deletions
|
|
@ -57,6 +57,8 @@ angular.module('copayApp.controllers').controller('SigninController',
|
|||
$rootScope.$flashMessage = { message: 'Can not find peer'};
|
||||
else if (err === 'walletFull')
|
||||
$rootScope.$flashMessage = { message: 'The wallet is full', type: 'error'};
|
||||
else if (err === 'badNetwork')
|
||||
$rootScope.$flashMessage = { message: 'The wallet your are trying to join uses a different Bitcoin Network. Check your settings.', type: 'error'};
|
||||
else if (err === 'badSecret')
|
||||
$rootScope.$flashMessage = { message: 'Bad secret secret string', type: 'error'};
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue