You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within the setGlobalPolicy() function, there exists an option to set the global policy with the allowAllPairs parameter set to false. However, considering the flow of the isAllowed() function, if globalPolicy.allowAllPairs is false:
When a pairPolicy is present, it takes precedence.
When no pairPolicy is present, a given quote is disallowed.
Consequently, the utilization of globalPolicy becomes obsolete when allowAllPairs is set to false.
Recommendation
It is recommended to conduct a review of the globalPolicy workflow, followed by appropriate adjustments. For instance, consider removing the allowAllPairs parameter from globalPolicy.
The text was updated successfully, but these errors were encountered:
Description
Within the setGlobalPolicy() function, there exists an option to set the global policy with the allowAllPairs parameter set to false. However, considering the flow of the isAllowed() function, if globalPolicy.allowAllPairs is false:
When a pairPolicy is present, it takes precedence.
When no pairPolicy is present, a given quote is disallowed.
Consequently, the utilization of globalPolicy becomes obsolete when allowAllPairs is set to false.
Recommendation
It is recommended to conduct a review of the globalPolicy workflow, followed by appropriate adjustments. For instance, consider removing the allowAllPairs parameter from globalPolicy.
The text was updated successfully, but these errors were encountered: