Renamed copayer pair constant

This commit is contained in:
Ivan Socolsky 2014-09-30 13:14:22 -03:00
commit 19ffe32306

View file

@ -132,7 +132,7 @@ Wallet.PERSISTED_PROPERTIES = [
'lastTimestamp', 'lastTimestamp',
]; ];
Wallet.VALID_COPAYER_PAIRS = { Wallet.COPAYER_PAIR_LIMITS = {
1: 1, 1: 1,
2: 2, 2: 2,
3: 3, 3: 3,
@ -174,7 +174,7 @@ Wallet.getRandomNumber = function() {
* @return {number} * @return {number}
*/ */
Wallet.getMaxRequiredCopayers = function(totalCopayers) { Wallet.getMaxRequiredCopayers = function(totalCopayers) {
return Wallet.VALID_COPAYER_PAIRS[totalCopayers]; return Wallet.COPAYER_PAIR_LIMITS[totalCopayers];
}; };