Open code423n4 opened 2 years ago
hyh
setFactory should be named addFactory as it doesn't set the only factory, but adds to the list of factories
setFactory
addFactory
https://github.com/code-423n4/2021-11-nested/blob/main/contracts/NestedAsset.sol#L133
Handle
hyh
Vulnerability details
setFactory
should be namedaddFactory
as it doesn't set the only factory, but adds to the list of factorieshttps://github.com/code-423n4/2021-11-nested/blob/main/contracts/NestedAsset.sol#L133