Merge pull request #153 from gabrielbazan7/feat/addEntrySend

add addressbook entry when send success
This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-21 19:18:55 -03:00 committed by GitHub
commit 912789ccb6
8 changed files with 123 additions and 35 deletions

View file

@ -261,8 +261,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);
@ -303,8 +301,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');
});
};