mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #8259 from brianmcmichael/brianmcmichael-patch-1
Conform constants to style guide
This commit is contained in:
commit
e8eb1f2d14
@ -29,7 +29,7 @@ value types and strings.
|
|||||||
pragma solidity >=0.4.0 <0.7.0;
|
pragma solidity >=0.4.0 <0.7.0;
|
||||||
|
|
||||||
contract C {
|
contract C {
|
||||||
uint constant x = 32**22 + 8;
|
uint constant X = 32**22 + 8;
|
||||||
string constant text = "abc";
|
string constant TEXT = "abc";
|
||||||
bytes32 constant myHash = keccak256("abc");
|
bytes32 constant MY_HASH = keccak256("abc");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user