When sell profits, user txs may pending in the memory forever becasue protocol use block.timestamp as deadline.
When passing block.timestamp as the deadline parameter to a pool, means that whenever the miner decides to include the tx in a block, it will be valid at that time, since block.timestamp will be the current timestamp. A malicious miner can hold the transaction when there is profitable, so the tx maybe pending in the memory forever.
Users txs may pending in the memory forever.
vscode, Manual Review
Add deadline parameter when use sellProfits function when interact with AMMs.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.