From 8e89e95a34ce739f21022e822f8e7dcc64a509cd Mon Sep 17 00:00:00 2001 From: Kadir Sekha Date: Mon, 29 Jan 2018 17:13:59 -0400 Subject: [PATCH] if not enough funds, now states 'insufficient confirmed funds' --- src/js/controllers/confirm.js | 4 ++-- src/js/services/bwcError.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/controllers/confirm.js b/src/js/controllers/confirm.js index 707e105d1..378408c0d 100644 --- a/src/js/controllers/confirm.js +++ b/src/js/controllers/confirm.js @@ -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'); } diff --git a/src/js/services/bwcError.js b/src/js/services/bwcError.js index 417350868..f1a4c991e 100644 --- a/src/js/services/bwcError.js +++ b/src/js/services/bwcError.js @@ -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');