Closed usgeeus closed 5 months ago
https://github.com/tokamak-network/L2-FastWithdraw/blob/aefc050fdaf7c81e1cef3f4a1a5eeea70351b762/contracts/L2/L2FastWithdraw.sol#L63-L72
Should check wether _totalAmount is greator than _fwAmount
require(_totalAmount ≥ _fwAmount)
https://github.com/tokamak-network/crossTrade/commit/40d85a0927aaf40bbe6ec2c34fae8c37dedb0319
Solved, closing this issue.
Configuration
Lines of Codes
https://github.com/tokamak-network/L2-FastWithdraw/blob/aefc050fdaf7c81e1cef3f4a1a5eeea70351b762/contracts/L2/L2FastWithdraw.sol#L63-L72
Description
Should check wether _totalAmount is greator than _fwAmount
Recommendation