fail if fee level cannot be get
This commit is contained in:
parent
fefa939bd4
commit
667e70d7f6
2 changed files with 13 additions and 11 deletions
|
|
@ -103,7 +103,8 @@ angular.module('copayApp.services').factory('txService', function($rootScope, pr
|
|||
};
|
||||
|
||||
getFee(function(err, feePerKb) {
|
||||
if (err) $log.debug(err);
|
||||
if (err) return cb(err);
|
||||
|
||||
opts.feePerKb = feePerKb;
|
||||
opts.excludeUnconfirmedUtxos = currentSpendUnconfirmed ? false : true;
|
||||
fc.createTxProposal(opts, function(err, txp) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue