diff --git a/contracts/Migrations.sol b/contracts/Migrations.sol index 38dac99..ba6ada6 100644 --- a/contracts/Migrations.sol +++ b/contracts/Migrations.sol @@ -2,7 +2,7 @@ pragma solidity ^0.4.24; contract Migrations { - address public owner; + address public owner = msg.sender; uint public last_completed_migration; modifier restricted() { @@ -11,10 +11,6 @@ contract Migrations { } } - function Migrations() public { - owner = msg.sender; - } - function setCompleted(uint completed) public restricted { last_completed_migration = completed; }