handle proposal creation
This commit is contained in:
parent
9adab04871
commit
324088b5db
3 changed files with 8 additions and 3 deletions
|
|
@ -331,7 +331,11 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
};
|
||||
|
||||
function statusChangeHandler(processName, showName, isOn) {
|
||||
if(processName === 'broadcastingTx' && !isOn) {
|
||||
console.log('in statusChangeHandler', processName, showName, isOn);
|
||||
console.log('$scope.wallet', $scope.wallet);
|
||||
if(
|
||||
(processName === 'broadcastingTx' ||
|
||||
((processName === 'signingTx') && $scope.wallet.m > 1)) && !isOn) {
|
||||
$scope.sendStatus = 'success';
|
||||
$scope.$digest();
|
||||
} else if(showName) {
|
||||
|
|
|
|||
|
|
@ -937,7 +937,7 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
|||
|
||||
ongoingProcess.set('signingTx', true, customStatusHandler);
|
||||
root.signTx(wallet, publishedTxp, password, function(err, signedTxp) {
|
||||
ongoingProcess.set('signingTx', false);
|
||||
ongoingProcess.set('signingTx', false, customStatusHandler);
|
||||
root.invalidateCache(wallet);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue