aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-09-06 03:40:49 +0800
committerGitHub <noreply@github.com>2018-09-06 03:40:49 +0800
commit08a7a51f071e2ef30db011fb36d505c7615785ec (patch)
tree603e8a79d31e552c9e308a87e3d90f3fcccb854d /test
parent9cb72fe6ca0260e465ed3a1700cc4a890480df4f (diff)
parent87804b6419a5894601441efe511015adda5fb119 (diff)
downloaddexon-solidity-08a7a51f071e2ef30db011fb36d505c7615785ec.tar.gz
dexon-solidity-08a7a51f071e2ef30db011fb36d505c7615785ec.tar.zst
dexon-solidity-08a7a51f071e2ef30db011fb36d505c7615785ec.zip
Merge pull request #4887 from ethereum/addressSplit
Split IntegerType into IntegerType and AddressType.
Diffstat (limited to 'test')
-rw-r--r--test/compilationTests/zeppelin/token/VestedToken.sol4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compilationTests/zeppelin/token/VestedToken.sol b/test/compilationTests/zeppelin/token/VestedToken.sol
index 7edc7d16..2cd607bc 100644
--- a/test/compilationTests/zeppelin/token/VestedToken.sol
+++ b/test/compilationTests/zeppelin/token/VestedToken.sol
@@ -53,7 +53,7 @@ contract VestedToken is StandardToken, LimitedTransferToken {
uint256 count = grants[_to].push(
TokenGrant(
- _revokable ? msg.sender : 0, // avoid storing an extra 20 bytes when it is non-revokable
+ _revokable ? msg.sender : 0x0000000000000000000000000000000000000000, // avoid storing an extra 20 bytes when it is non-revokable
_value,
_cliff,
_vesting,
@@ -84,7 +84,7 @@ contract VestedToken is StandardToken, LimitedTransferToken {
revert();
}
- address receiver = grant.burnsOnRevoke ? 0xdead : msg.sender;
+ address receiver = grant.burnsOnRevoke ? 0x000000000000000000000000000000000000dEaD : msg.sender;
uint256 nonVested = nonVestedTokens(grant, uint64(now));