Closed gundas closed 7 years ago
https://github.com/CORIONplatform/solidity/blob/master/moduleHandler.sol#L175-L176
if module is not found by the name (_found is not checked), then unrelated module with '_id=0' will be replaced with a new one.
_found
https://github.com/CORIONplatform/solidity/commit/14b5dbaf281997c4ac002027d5ff5b2a8027eb1e
It should check the _found not the _id - now the module with _id=0 cannot be replaced.
_id
_id=0
https://github.com/CORIONplatform/solidity/pull/99
https://github.com/CORIONplatform/solidity/blob/master/moduleHandler.sol#L175-L176
if module is not found by the name (
_found
is not checked), then unrelated module with '_id=0' will be replaced with a new one.