Merge pull request #8259 from brianmcmichael/brianmcmichael-patch-1

Conform constants to style guide
This commit is contained in:
chriseth 2020-02-07 11:59:44 +01:00 committed by GitHub
commit e8eb1f2d14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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");
}