eshon / conference

A simple Ethereum smart contract + DApp example
175 stars 106 forks source link

truffle comple error #24

Open heiterwelt opened 6 years ago

heiterwelt commented 6 years ago

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.

irradiate commented 6 years ago

contract Migrations { address public owner; uint public last_completed_migration;

modifier restricted() { if (msg.sender == owner) _; }

function Migrations() { owner = msg.sender; } ... Add semicolon after '_'