FraxFinance / frax-solidity

Solidity implementation of the Frax Protocol
MIT License
474 stars 198 forks source link

Add address code length check to onLockRecieved #190

Closed ZrowGz closed 1 year ago

ZrowGz commented 1 year ago

Didn't check whether the receiver address is a contract or not, causing it to fail for instances of transfer to EOA.