add addressbook entry when send success

This commit is contained in:
Gabriel Bazán 2016-09-21 15:13:22 -03:00
commit ef90113dd8
9 changed files with 126 additions and 37 deletions

View file

@ -262,8 +262,6 @@ angular.module('copayApp.controllers').controller('confirmController', function(
return walletService.onlyPublish(wallet, txp, function(err, txp) {
if (err) return setSendError(err);
$ionicHistory.clearHistory();
$state.go('tabs.home');
});
}
ongoingProcess.set('creatingTx', true);
@ -304,8 +302,6 @@ angular.module('copayApp.controllers').controller('confirmController', function(
function publishAndSign(wallet, txp) {
walletService.publishAndSign(wallet, txp, function(err, txp) {
if (err) return setSendError(err);
$ionicHistory.clearHistory();
$state.go('tabs.home');
});
};