- Need to validate the amount of withdraw can't be zero
Need require check if the amount was not zero on fn finalizeDeposit() and fn withdraw() since it was validate if sender can't deposit or withdraw any zero amount
File :
- Use require rather than assert
The require function should be used to check return values from calls to external contracts or to guarantee that valid conditions, such as inputs or contract state variables, are satisfied.
- Innacurate comment
FIles :
Just only @return bytes32 , doesn't need to say @return Magic bytes32
for better code readibility
- Missing comment for reason string
File :
//owner can't be zero addresses
//not owner