You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function checkValidator(address _address) public view returns (bool) {
// owner is a permanent validator
if (_address == owner) { // owner should be owner()
return true;
}
return validators[_address];
}
in this contract code,
function checkValidator(address _address) public view returns (bool) {
// owner is a permanent validator
if (_address == owner) { // owner should be owner()
return true;
}
return validators[_address];
}
owner should be onwer() function.