diff options
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; } _; |