mirror of https://github.com/BTCPrivate/copay.git
fix refresh 2
This commit is contained in:
parent
5bcc0b072d
commit
2c51b48961
|
@ -276,11 +276,12 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
updateAmount();
|
||||
showSendMaxWarning(sendMaxInfo);
|
||||
}
|
||||
refresh();
|
||||
|
||||
// txp already generated for this wallet?
|
||||
if (tx.txp[wallet.id])
|
||||
if (tx.txp[wallet.id]) {
|
||||
refresh();
|
||||
return cb();
|
||||
}
|
||||
|
||||
getTxp(lodash.clone(tx), wallet, opts.dryRun, function(err, txp) {
|
||||
if (err) return cb(err);
|
||||
|
@ -297,6 +298,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
|
||||
tx.txp[wallet.id] = txp;
|
||||
$log.debug('Confirm. TX Fully Updated for wallet:' + wallet.id, tx);
|
||||
refresh();
|
||||
|
||||
return cb();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue