Update version pragma and use new constructor syntax in std/ contracts.

This commit is contained in:
Daniel Kirchner
2018-04-03 18:21:55 +02:00
committed by Alex Beregszaszi
parent c98464db06
commit f855c78a08
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
pragma solidity ^0.4.0;
pragma solidity >0.4.21;
contract owned {
address owner;
@@ -9,7 +9,7 @@ contract owned {
}
}
function owned() public {
constructor() public {
owner = msg.sender;
}
}