Calculate fee level when sweeping paper wallet
This commit is contained in:
parent
d85456b1e6
commit
04684e2a9e
2 changed files with 17 additions and 13 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue