if not enough funds, now states 'insufficient confirmed funds'
This commit is contained in:
parent
c7bcef9888
commit
8e89e95a34
2 changed files with 3 additions and 3 deletions
|
|
@ -119,7 +119,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
return cb('Could not update any wallet');
|
||||
|
||||
if (lodash.isEmpty(filteredWallets)) {
|
||||
setNoWallet(gettextCatalog.getString('Insufficient funds'), true);
|
||||
setNoWallet(gettextCatalog.getString('Insufficient confirmed funds'), true);
|
||||
}
|
||||
$scope.wallets = lodash.clone(filteredWallets);
|
||||
return cb();
|
||||
|
|
@ -313,7 +313,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
|
||||
if (tx.sendMax && sendMaxInfo.amount == 0) {
|
||||
ongoingProcess.set('calculatingFee', false);
|
||||
setNoWallet(gettextCatalog.getString('Insufficient funds'));
|
||||
setNoWallet(gettextCatalog.getString('Insufficient confirmed funds'));
|
||||
popupService.showAlert(gettextCatalog.getString('Error'), gettextCatalog.getString('Not enough funds for fee'));
|
||||
return cb('no_funds');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ angular.module('copayApp.services')
|
|||
body = gettextCatalog.getString('Could not build transaction');
|
||||
break;
|
||||
case 'INSUFFICIENT_FUNDS':
|
||||
body = gettextCatalog.getString('Insufficient funds');
|
||||
body = gettextCatalog.getString('Insufficient confirmed funds');
|
||||
break;
|
||||
case 'CONNECTION_ERROR':
|
||||
body = gettextCatalog.getString('Network error');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue