Merge pull request #2177 from matiu/bug/m-n-limits

Bug/m n limits
This commit is contained in:
Gustavo Maximiliano Cortez 2014-12-17 10:58:23 -03:00
commit 24dd420c39
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,