update m-n limits

This commit is contained in:
Matias Alejo Garcia 2014-12-16 12:06:03 -03:00
commit fd49b956a4
2 changed files with 5 additions and 4 deletions

View file

@ -168,15 +168,16 @@ Wallet.PERSISTED_PROPERTIES = [
'secretNumber', 'secretNumber',
]; ];
/* For compressed keys, m*73 + n*34 <= 496 */
Wallet.COPAYER_PAIR_LIMITS = { Wallet.COPAYER_PAIR_LIMITS = {
1: 1, 1: 1,
2: 2, 2: 2,
3: 3, 3: 3,
4: 4, 4: 4,
5: 4, 5: 4,
6: 3, 6: 4,
7: 3, 7: 3,
8: 2, 8: 3,
9: 2, 9: 2,
10: 2, 10: 2,
11: 1, 11: 1,

View file

@ -425,9 +425,9 @@ describe('Wallet model', function() {
3: 3, 3: 3,
4: 4, 4: 4,
5: 4, 5: 4,
6: 3, 6: 4,
7: 3, 7: 3,
8: 2, 8: 3,
9: 2, 9: 2,
10: 2, 10: 2,
11: 1, 11: 1,