TribalChief - Governor decrease of pool's allocation point should unlock depositors' funds
When the `TribalChief` governor decreases the ratio between the allocation point (PoolInfo.allocPoint) and the total allocation point (totalAllocPoint) for a specific pool (either be directly decreasing `PoolInfo.allocPoint` of a given pool, or by increasing this value for other pools), the total reward for this pool is decreased as well. Depositors should be able to withdraw their funds immediately after this kind of change.\\n```\\nfunction set(uint256 \\_pid, uint128 \\_allocPoint, IRewarder \\_rewarder, bool overwrite) public onlyGovernor {\\n    totalAllocPoint = (totalAllocPoint - poolInfo[\\_pid].allocPoint) + \\_allocPoint;\\n    poolInfo[\\_pid].allocPoint = \\_allocPoint.toUint64();\\n\\n    if (overwrite) {\\n        rewarder[\\_pid] = \\_rewarder;\\n    }\\n\\n    emit LogSetPool(\\_pid, \\_allocPoint, overwrite ? \\_rewarder : rewarder[\\_pid], overwrite);\\n}\\n```\\n
Make sure that depositors' funds are unlocked for pools that affected negatively by calling `TribalChief.set`.
```\\nfunction set(uint256 \\_pid, uint128 \\_allocPoint, IRewarder \\_rewarder, bool overwrite) public onlyGovernor {\\n    totalAllocPoint = (totalAllocPoint - poolInfo[\\_pid].allocPoint) + \\_allocPoint;\\n    poolInfo[\\_pid].allocPoint = \\_allocPoint.toUint64();\\n\\n    if (overwrite) {\\n        rewarder[\\_pid] = \\_rewarder;\\n    }\\n\\n    emit LogSetPool(\\_pid, \\_allocPoint, overwrite ? \\_rewarder : rewarder[\\_pid], overwrite);\\n}\\n```\\n