diff options
author | chriseth <chris@ethereum.org> | 2018-07-13 02:07:16 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-01 18:04:35 +0800 |
commit | b800bfb02138f843538bca55a40d6a4e0d1be60f (patch) | |
tree | 4d0162665f6f185e368e0831359d336e8251e438 /test/compilationTests/zeppelin/token/TokenTimelock.sol | |
parent | c8232d9759458d5f6e1442533457d8529686eea7 (diff) | |
download | dexon-solidity-b800bfb02138f843538bca55a40d6a4e0d1be60f.tar dexon-solidity-b800bfb02138f843538bca55a40d6a4e0d1be60f.tar.gz dexon-solidity-b800bfb02138f843538bca55a40d6a4e0d1be60f.tar.bz2 dexon-solidity-b800bfb02138f843538bca55a40d6a4e0d1be60f.tar.lz dexon-solidity-b800bfb02138f843538bca55a40d6a4e0d1be60f.tar.xz dexon-solidity-b800bfb02138f843538bca55a40d6a4e0d1be60f.tar.zst dexon-solidity-b800bfb02138f843538bca55a40d6a4e0d1be60f.zip |
Fix tests regarding contract type conversion.
Diffstat (limited to 'test/compilationTests/zeppelin/token/TokenTimelock.sol')
-rw-r--r-- | test/compilationTests/zeppelin/token/TokenTimelock.sol | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/zeppelin/token/TokenTimelock.sol b/test/compilationTests/zeppelin/token/TokenTimelock.sol index fa1af025..a1722ebf 100644 --- a/test/compilationTests/zeppelin/token/TokenTimelock.sol +++ b/test/compilationTests/zeppelin/token/TokenTimelock.sol @@ -33,7 +33,7 @@ contract TokenTimelock { require(msg.sender == beneficiary); require(now >= releaseTime); - uint amount = token.balanceOf(this); + uint amount = token.balanceOf(address(this)); require(amount > 0); token.transfer(beneficiary, amount); |