Limit to wallet n-1

This commit is contained in:
Gustavo Maximiliano Cortez 2016-11-29 12:55:40 -03:00
commit 52308e48be
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -54,6 +54,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
var wallets = profileService.getWallets({ var wallets = profileService.getWallets({
onlyComplete: true, onlyComplete: true,
network: networkName, network: networkName,
n: $scope.buyAmazon ? true : false
}); });
if (!wallets || !wallets.length) { if (!wallets || !wallets.length) {