You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
launcherInfo.liquidityAdded is only updated in the finalize() function
You cannot call finalize() unless there are tokens deposited on both side
If you cannot call finalize(), line 201 will never be called because line 200 will always fail first.
If you manage to successfully pass line 200, it means that finalize() has been called and there will definitely be liquidity so this check is not needed.
The text was updated successfully, but these errors were encountered:
Handle
itsmeSTYJ
Vulnerability details
Impact
Gas optimization
Proof of Concept
The require statement on line 201 in the PostAuctionLauncher.sol contract is redundant because:
The text was updated successfully, but these errors were encountered: