diff --git a/public/views/walletHome.html b/public/views/walletHome.html index faf16d9ef..035b0a8d2 100644 --- a/public/views/walletHome.html +++ b/public/views/walletHome.html @@ -455,6 +455,29 @@ +
+
+ +
+
+
+
+
+
+
+
+
+
+ + + + Download CSV file + +
-
-
- -
-
-
-
-
-
-
-
-
- -
- - - - Download CSV file -
diff --git a/src/js/controllers/index.js b/src/js/controllers/index.js index 972050670..7504a1f46 100644 --- a/src/js/controllers/index.js +++ b/src/js/controllers/index.js @@ -2,6 +2,7 @@ angular.module('copayApp.controllers').controller('indexController', function($rootScope, $scope, $log, $filter, $timeout, lodash, go, profileService, configService, isCordova, rateService, storageService, addressService, gettext, gettextCatalog, amMoment, nodeWebkit, addonManager, feeService, isChromeApp, bwsError, txFormatService, uxLanguage, $state, glideraService, isMobile) { var self = this; + var CONFIRMATIONS = 12; self.isCordova = isCordova; self.isChromeApp = isChromeApp; self.isSafari = isMobile.Safari(); @@ -743,7 +744,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r self.removeLessThanSixConfirmations = function(txs) { return lodash.map(txs, function(tx) { - if (tx.confirmations >= 6) + if (tx.confirmations >= CONFIRMATIONS) return tx; }); }