1 of X wallets should not produce proposals

This commit is contained in:
Gabriel Bazán 2016-09-14 11:00:48 -03:00
commit 2f8227ff27

View file

@ -874,7 +874,7 @@ angular.module('copayApp.services')
return !typeFilter1[x.type];
});
if (wallet.n == 1) {
if (wallet.m == 1) {
var n = lodash.filter(n, function(x) {
return !typeFilter2[x.type];
});