lidofinance / lido-l2

GNU General Public License v3.0
30 stars 38 forks source link

Forbid bridging to zero address recipients #10

Closed Psirex closed 2 years ago

Psirex commented 2 years ago

Bridging to the zero address accounts will fail on the L2 side because ERC20Bridged token forbids minting to the zero address. Even though such bridge usage is very low-probable, it's better to prohibit such bridge operations on the L1 side.