diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-07-05 20:32:32 +0800 |
---|---|---|
committer | Leonardo Alt <leo@ethereum.org> | 2018-07-12 18:53:49 +0800 |
commit | 3ebfcae8292da1d9f41ff20da1866c424404ee58 (patch) | |
tree | 0b6845c1598d81ed72ebe2b2d44272f6f51f284c /test/compilationTests/zeppelin/LimitBalance.sol | |
parent | c438b73f689b904152f4b8b636579317fb55e60a (diff) | |
download | dexon-solidity-3ebfcae8292da1d9f41ff20da1866c424404ee58.tar dexon-solidity-3ebfcae8292da1d9f41ff20da1866c424404ee58.tar.gz dexon-solidity-3ebfcae8292da1d9f41ff20da1866c424404ee58.tar.bz2 dexon-solidity-3ebfcae8292da1d9f41ff20da1866c424404ee58.tar.lz dexon-solidity-3ebfcae8292da1d9f41ff20da1866c424404ee58.tar.xz dexon-solidity-3ebfcae8292da1d9f41ff20da1866c424404ee58.tar.zst dexon-solidity-3ebfcae8292da1d9f41ff20da1866c424404ee58.zip |
Update external tests and docs
Diffstat (limited to 'test/compilationTests/zeppelin/LimitBalance.sol')
-rw-r--r-- | test/compilationTests/zeppelin/LimitBalance.sol | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/zeppelin/LimitBalance.sol b/test/compilationTests/zeppelin/LimitBalance.sol index cf040097..9682ff1c 100644 --- a/test/compilationTests/zeppelin/LimitBalance.sol +++ b/test/compilationTests/zeppelin/LimitBalance.sol @@ -23,7 +23,7 @@ contract LimitBalance { * @dev Checks if limit was reached. Case true, it throws. */ modifier limitedPayable() { - if (this.balance > limit) { + if (address(this).balance > limit) { throw; } _; |