mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-02 08:56:11 +00:00
Changed pragma version and constructor syntax
This commit is contained in:
parent
0f4b49a822
commit
9d197dcbb3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user