Renamed copayer pair constant
This commit is contained in:
parent
33e115d0c2
commit
19ffe32306
1 changed files with 2 additions and 2 deletions
|
|
@ -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];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue