I'm looking to ensure that an address is not the 0 address and with the update to 0.5.0 I am running into a TypeError Operator != not compatible with types contract GeneScienceInterface and address payable
function unpause() public onlyCEO whenPaused {
require(geneScience != address(0));
super.unpause();
}
geneScience
, because I'm not getting any error while comparingaddress(0)
to regular address variable. – sp4c3 Jan 30 '19 at 17:48