Add back initializing guard to Common initializer (#447)

Enforces that `Inbox.initialize` and `Outbox.initialize` functions have `initializer` modifiers
pull/455/head
Yorke Rhodes 3 years ago committed by GitHub
parent 630f7c2a87
commit d1c82dee90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      solidity/core/contracts/Common.sol

@ -68,7 +68,10 @@ abstract contract Common is ICommon, OwnableUpgradeable {
// ============ Initializer ============
function __Common_initialize(address _validatorManager) internal {
function __Common_initialize(address _validatorManager)
internal
onlyInitializing
{
// initialize owner
__Ownable_init();
_setValidatorManager(_validatorManager);

Loading…
Cancel
Save