fix sendmax

This commit is contained in:
Matias Alejo Garcia 2017-06-23 08:52:45 -03:00
commit bdf0f59427
No known key found for this signature in database
GPG key ID: 02470DB551277AB3

View file

@ -243,13 +243,15 @@ angular.module('copayApp.controllers').controller('confirmController', function(
updateAmount();
refresh();
// End of quick refresh, before wallet is selected.
if (!wallet)return cb();
feeService.getFeeRate(tx.network, tx.feeLevel, function(err, feeRate) {
if (err) return cb(err);
tx.feeRate = feeRate;
tx.feeLevelName = feeService.feeOpts[tx.feeLevel];
// End of quick refresh, before wallet is selected.
if (!wallet)
return cb();