Merge pull request #6291 from matiu/bug/fee-refresh

fix refresh/fee
This commit is contained in:
Gustavo Maximiliano Cortez 2017-06-23 11:03:05 -03:00 committed by GitHub
commit 76c6a96e19
3 changed files with 10 additions and 8 deletions

View file

@ -56,9 +56,7 @@ angular.module('copayApp.services').factory('feeService', function($log, $timeou
root.getFeeLevels = function(cb) {
if (cache.updateTs > Date.now() - CACHE_TIME_TS * 1000) {
$timeout(function() {
return cb(null, cache.data, true);
}, 1);
return cb(null, cache.data, true);
}
var walletClient = bwcService.getClient();