This commit is contained in:
Jean-Baptiste Dominguez 2018-09-05 11:02:10 +09:00
commit c553b51817
2 changed files with 1 additions and 2 deletions

View file

@ -508,7 +508,7 @@ function reviewController(addressbookService, bitcoinCashJsService, bitcore, bit
}
shapeshiftService.shiftIt(vm.originWallet.coin, toWallet.coin, withdrawalAddr, returnAddr, function onShiftIt(err, shapeshiftData) {
if (err && err != null) {
if (err) {
ongoingProcess.set('connectingShapeshift', false);
popupService.showAlert(gettextCatalog.getString('Shapeshift Error'), err.toString(), function () {
$ionicHistory.goBack();

View file

@ -32,7 +32,6 @@ angular.module('bitcoincom.services').factory('shapeshiftService', function ($ht
};
root.shiftIt = function (coinIn, coinOut, withdrawalAddress, returnAddress, cb) {
ongoingProcess.set('connectingShapeshift', true);
root.withdrawalAddress = withdrawalAddress;
root.returnAddress = returnAddress;
root.coinIn = coinIn;