NestedAsset.setFactory should be named addFactory
Opened this issue · 0 comments
code423n4 commented
Handle
hyh
Vulnerability details
setFactory should be named addFactory as it doesn't set the only factory, but adds to the list of factories
https://github.com/code-423n4/2021-11-nested/blob/main/contracts/NestedAsset.sol#L133