Skip to content
This repository was archived by the owner on Jun 14, 2018. It is now read-only.

Commit ef31bca

Browse files
authored
Merge pull request #149 from axic/strict-address
Ensure ADDRESS_NULL is a strict address literal for Solidity 0.5.0 in testing/Assert.sol
2 parents a04fbeb + 8596e04 commit ef31bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/testing/Assert.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ library Assert {
5252

5353
// Constant: ADDRESS_NULL
5454
// The null address: 0
55-
address constant ADDRESS_NULL = 0x0;
55+
address constant ADDRESS_NULL = 0x0000000000000000000000000000000000000000;
5656
// Constant: BYTES32_NULL
5757
// The null bytes32: 0
5858
bytes32 constant BYTES32_NULL = 0x0;

0 commit comments

Comments
 (0)