conference icon indicating copy to clipboard operation
conference copied to clipboard

To help others out

Open Ulysseus opened this issue 8 years ago • 1 comments

You need to add an empty images folder to the app folder i.e. ..app/images Also in Migrations.sol in the contracts folder add a ; at the end of line 8 so it reads: if (msg.sender == owner) _;

Also add: pragma solidity ^0.4.2; to the start of Conference.sol and Migrations.sol

And now one that had me stumped change line 19 (it will be line 18) unless you add the pragma line to: function buyTicket() payable public { That is add the payable modifier to the buyTicket() function. if you don't it will throw invalid jump! And truffle test will fail.

Still having issues with the refund function specifically the recipient.send(amount); line.

Ulysseus avatar Dec 17 '16 10:12 Ulysseus

that last issue is if (! recipient.send(amount) ) throw;

cicorias avatar Jan 31 '17 01:01 cicorias