Smart contracts
Unchecked approve( ) return causes permanent fund loss in UDA.sol
The contract ignores the return value of ERC20.approve() when initialising a deposit address. With tokens that return false instead of reverting, the approval silently fails, the contract is marked initialised, and the deposited funds become permanently locked because the HTLC cannot transfer them.
Garden
Medium