Conform constants to style guide

Constants should conform to style guide at https://solidity.readthedocs.io/en/latest/style-guide.html#constants
This commit is contained in:
Brian L. McMichael
2020-02-06 16:39:09 -05:00
committed by GitHub
parent f0ebb26f29
commit b39814a4f8
+3 -3
View File
@@ -29,7 +29,7 @@ value types and strings.
pragma solidity >=0.4.0 <0.7.0;
contract C {
uint constant x = 32**22 + 8;
string constant text = "abc";
bytes32 constant myHash = keccak256("abc");
uint constant X = 32**22 + 8;
string constant TEXT = "abc";
bytes32 constant MY_HASH = keccak256("abc");
}