Skip to content

Commit

Permalink
fix constructor warning in Migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilva committed Jul 4, 2018
1 parent 978287a commit edc829e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions contracts/Migrations.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -11,10 +11,6 @@ contract Migrations {
}
}

function Migrations() public {
owner = msg.sender;
}

function setCompleted(uint completed) public restricted {
last_completed_migration = completed;
}
Expand Down

0 comments on commit edc829e

Please sign in to comment.