code-423n4 / 2021-09-yaxis-findings

0 stars 0 forks source link

notHalted in depositMultiple is not needed #92

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

pauliax

Vulnerability details

Impact

notHalted modifier is not needed in function depositMultiple as it will be checked in function deposit anyway.

Recommended Mitigation Steps

Remove notHalted from function depositMultiple.

Haz077 commented 3 years ago

Same as #70

GalloDaSballo commented 3 years ago

Duplicate of #70