Wrong logic in AUTO_COMPOUND doesn’t allow for swap to token1
The AUTO_COMPOUND action in a smart contract has a faulty condition that prevents swapping to token1. An attacker could not exploit this, but it breaks intended protocol functionality.
Krystal DeFi Invitational
Medium