mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update external contracts in compilationTests (to support strict address literals)
This commit is contained in:
@@ -123,7 +123,7 @@ contract module {
|
||||
|
||||
@ret This is the module handler address or not
|
||||
*/
|
||||
if ( moduleHandlerAddress == 0x00 ) { return true; }
|
||||
if ( moduleHandlerAddress == address(0x00) ) { return true; }
|
||||
if ( moduleStatus != status.Connected ) { return false; }
|
||||
return addr == moduleHandlerAddress;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user