Open eshon opened 5 years ago
➤ Leon zhao commented:
contract Migrations { address public owner; uint public last_completed_migration;
modifier restricted() { if (msg.sender == owner) _; }
function Migrations() { owner = msg.sender; } ... Add semicolon after '_'
MacBook-Pro:conference-master origin$ truffle compile Error parsing /Users/geshengli/Downloads/conference-master/contracts/Migrations.sol: ParsedContract.sol:7:3: ParserError: Expected token Semicolon got 'RBrace' } ^ Compilation failed. See above.