Calculate fee level when sweeping paper wallet

This commit is contained in:
Gabriel Bazán 2016-11-24 16:33:51 -03:00
commit 04684e2a9e
2 changed files with 17 additions and 13 deletions

View file

@ -15,10 +15,7 @@ angular.module('copayApp.services').factory('feeService', function($log, $stateP
return configService.getSync().wallet.settings.feeLevel || 'normal';
};
root.getCurrentFeeValue = function(cb) {
console.log('[feeService.js.18:getCurrentFeeValue:] TODO TODO TODO'); //TODO
// TODO TODO TODO
var wallet = profileService.getWallet($stateParams.walletId);
root.getCurrentFeeValue = function(wallet, cb) {
var feeLevel = root.getCurrentFeeLevel();
wallet.getFeeLevels(wallet.credentials.network, function(err, levels) {