You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: