allow buying amazon gift cards with multisig wallets

This commit is contained in:
Gabriel Bazán 2017-02-20 15:48:49 -05:00
commit b2ae79b807

View file

@ -111,7 +111,6 @@ angular.module('copayApp.controllers').controller('buyAmazonController', functio
$scope.network = amazonService.getNetwork(); $scope.network = amazonService.getNetwork();
$scope.wallets = profileService.getWallets({ $scope.wallets = profileService.getWallets({
m: 1, // Only 1-signature wallet
onlyComplete: true, onlyComplete: true,
network: $scope.network network: $scope.network
}); });
@ -250,7 +249,9 @@ angular.module('copayApp.controllers').controller('buyAmazonController', functio
disableAnimate: true disableAnimate: true
}); });
$state.transitionTo('tabs.giftcards.amazon').then(function() { $state.transitionTo('tabs.giftcards.amazon').then(function() {
$state.transitionTo('tabs.giftcards.amazon.cards', { cardClaimCode: claimCode }); $state.transitionTo('tabs.giftcards.amazon.cards', {
cardClaimCode: claimCode
});
}); });
}); });
}; };