fix refresh 2
This commit is contained in:
parent
5bcc0b072d
commit
2c51b48961
1 changed files with 4 additions and 2 deletions
|
|
@ -276,11 +276,12 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
updateAmount();
|
updateAmount();
|
||||||
showSendMaxWarning(sendMaxInfo);
|
showSendMaxWarning(sendMaxInfo);
|
||||||
}
|
}
|
||||||
refresh();
|
|
||||||
|
|
||||||
// txp already generated for this wallet?
|
// txp already generated for this wallet?
|
||||||
if (tx.txp[wallet.id])
|
if (tx.txp[wallet.id]) {
|
||||||
|
refresh();
|
||||||
return cb();
|
return cb();
|
||||||
|
}
|
||||||
|
|
||||||
getTxp(lodash.clone(tx), wallet, opts.dryRun, function(err, txp) {
|
getTxp(lodash.clone(tx), wallet, opts.dryRun, function(err, txp) {
|
||||||
if (err) return cb(err);
|
if (err) return cb(err);
|
||||||
|
|
@ -297,6 +298,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
|
|
||||||
tx.txp[wallet.id] = txp;
|
tx.txp[wallet.id] = txp;
|
||||||
$log.debug('Confirm. TX Fully Updated for wallet:' + wallet.id, tx);
|
$log.debug('Confirm. TX Fully Updated for wallet:' + wallet.id, tx);
|
||||||
|
refresh();
|
||||||
|
|
||||||
return cb();
|
return cb();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue