‹ Findings database
Low/InfoMitosis audit·Three Sigma·Cross-chain liquidity layer 1·25th June, 20243S-Mitosis-N11
Description
BasicVault::_deposit() checks if amount is negative, which is unnecessary.
Recommendation
Replace <= by ==.
Status
Addressed in #b13e220.
Source
Disclosed by 0xSimao · Sherlock's 2025 Watson of the Year · 21 first places in 57 audit contests