fix addr at recreat
This commit is contained in:
parent
2d934dee10
commit
9b3e8363a0
1 changed files with 6 additions and 5 deletions
|
|
@ -134,8 +134,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
self.setOngoingProcess('updatingPendingTxps', true);
|
self.setOngoingProcess('updatingPendingTxps', true);
|
||||||
$log.debug('Updating PendingTxps');
|
$log.debug('Updating PendingTxps');
|
||||||
fc.getTxProposals({
|
fc.getTxProposals({}, function(err, txps) {
|
||||||
}, function(err, txps) {
|
|
||||||
self.setOngoingProcess('updatingPendingTxps', false);
|
self.setOngoingProcess('updatingPendingTxps', false);
|
||||||
if (err) {
|
if (err) {
|
||||||
$log.debug('Wallet PendingTxps ERROR:', err);
|
$log.debug('Wallet PendingTxps ERROR:', err);
|
||||||
|
|
@ -362,9 +361,11 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
}
|
}
|
||||||
|
|
||||||
profileService.setWalletClients();
|
profileService.setWalletClients();
|
||||||
$timeout(function() {
|
storageService.clearLastAddress(self.walletId, function(err, addr) {
|
||||||
$rootScope.$emit('Local/WalletImported', self.walletId);
|
$timeout(function() {
|
||||||
}, 100);
|
$rootScope.$emit('Local/WalletImported', self.walletId);
|
||||||
|
}, 100);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue