Submitted by gpersoon
The function setUnstakeWindow and setCooldown dont check that the input parameter isnt 0. So the values could accidentally be set to 0 (although unlikely).
However you wouldnt want the to be 0 because that would allow attacks with flashloans (stake and unstake in the same transaction)
Recommend checking the input parameter of setUnstakeWindow and setCooldown isnt 0
Evert0x (Sherlock) confirmed
