Skip to content
Request an audit

‹ Findings database

Halted withdrawals in BatchOut:withdrawFulfill() due to tokens transfer() reverting on 0 transfer amount

MediumClip Finance Strategies audit·Three Sigma·DeFi infrastructure·10th November, 20233S-Clip Finance-M03

Description

Some tokens may revert on 0 amount transfers. This means that if someone schedules a withdrawal of 1 share, it could convert to a 0 amount and halt all the other withdrawals.

Recommendation

Skip the transfer if the amount to transfer is 0.

Status

Addressed in #48a6f08