Function: removePool(address pool)
This function is used to remove a pool from voting.
Inputs
pool
Control: Arbitrary.
Constraints: None.
Impact: Address of the pool.
Branches and code coverage
Intended branches
Apply the pool's slope changes before removing it.
Remove the pool.
Negative behavior
Revert if the caller is not the owner.
Revert if the pool is not active.