Merge pull request #3762 from cmgustavo/feat/2-step-balance
Adds support for 2-step balance
This commit is contained in:
commit
dd47185402
4 changed files with 9 additions and 3 deletions
|
|
@ -300,7 +300,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
return cb(null, opts.walletStatus);
|
||||
else {
|
||||
self.updateError = false;
|
||||
return fc.getStatus({}, function(err, ret) {
|
||||
return fc.getStatus({ twoStep : true }, function(err, ret) {
|
||||
if (err) {
|
||||
self.updateError = bwsError.msg(err, gettext('Could not update Wallet'));
|
||||
} else {
|
||||
|
|
@ -1342,6 +1342,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
}
|
||||
});
|
||||
|
||||
$rootScope.$on('BalanceUpdated', function(e, n) {
|
||||
self.setBalance(n.data);
|
||||
});
|
||||
|
||||
$rootScope.$on('NewOutgoingTx', function() {
|
||||
self.newTx = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue