Merge pull request #395 from embark-framework/bug_fix/contract_constructor_warning_on_demo

Changed pragma version and constructor syntax
This commit is contained in:
Iuri Matias 2018-05-03 21:02:46 -04:00 committed by GitHub
commit f6835cb461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
pragma solidity ^0.4.7;
pragma solidity ^0.4.23;
contract SimpleStorage {
uint public storedData;
function SimpleStorage(uint initialValue) public {
constructor(uint initialValue) public {
storedData = initialValue;
}