Merge pull request #5637 from gabrielbazan7/feat/allowmultisig

allow buying amazon gift cards with multisig wallets
This commit is contained in:
Gustavo Maximiliano Cortez 2017-02-20 17:55:31 -03:00 committed by GitHub
commit d00cd5b25d

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
});
}); });
}); });
}; };