Skip to content

Conversation

@sp41mer
Copy link

@sp41mer sp41mer commented May 3, 2018

No description provided.

Copy link

@aurelienshz aurelienshz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't compile on my computer. Not sure if I'm doing something wrong? Thanks for fixing all the lint warnings though!

}

function Migrations() public {
constructor() public {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fails compilation on my side. Is there something I need to do (update my solc version?) if I want to have that syntax available?

event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

function Ownable() public {
constructor() public {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

// ~10% chance the invitee mints a new token
// ~50% chance nothing happens
uint randomNumber = uint(block.blockhash(block.number-1)) % 100 + 1;
uint randomNumber = uint(blockhash(block.number-1)) % 100 + 1;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fails on my side. Is there something I need to do (update my solc version?) if I want to have that syntax available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants