aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/LimitBalance.sol
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-07-05 20:32:32 +0800
committerLeonardo Alt <leo@ethereum.org>2018-07-12 18:53:49 +0800
commit3ebfcae8292da1d9f41ff20da1866c424404ee58 (patch)
tree0b6845c1598d81ed72ebe2b2d44272f6f51f284c /test/compilationTests/zeppelin/LimitBalance.sol
parentc438b73f689b904152f4b8b636579317fb55e60a (diff)
downloaddexon-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.sol2
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;
}
_;