From 0890f9e5e51c9c8d54d2cc131f25c89e7a00c7b3 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Fri, 23 Jun 2017 12:20:51 -0300 Subject: [PATCH] fix tx-details --- src/js/controllers/tx-details.js | 15 ++++++++++----- www/views/addresses.html | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/js/controllers/tx-details.js b/src/js/controllers/tx-details.js index 6d76fe84c..e65845af5 100644 --- a/src/js/controllers/tx-details.js +++ b/src/js/controllers/tx-details.js @@ -118,12 +118,17 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio initActionList(); getFiatRate(); - feeService.getLowAmount($scope.wallet, function(err, amount) { - $scope.btx.lowAmount = tx.amount< amount; - }); + feeService.getFeeLevels(function(err, levels) { + if (err) return; + walletService.getLowAmount($scope.wallet, levels, function(err, amount) { + if (err) return; + $scope.btx.lowAmount = tx.amount < amount; - $timeout(function() { - $scope.$apply(); + $timeout(function() { + $scope.$apply(); + }); + + }); }); }); }; diff --git a/www/views/addresses.html b/www/views/addresses.html index 2698aa55f..4831e7c81 100644 --- a/www/views/addresses.html +++ b/www/views/addresses.html @@ -91,7 +91,7 @@
- Approximate fee to move all wallet's balance (with normal priority) + Approximate Bitcoin network fee to transfer wallet's balance (with normal priority)
{{minFeePer}} [{{minFee}}]