diff options
author | chriseth <chris@ethereum.org> | 2018-06-27 18:04:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-27 18:04:49 +0800 |
commit | b67dfa154cacbe173d2a54a85d73f8b9a03cc15f (patch) | |
tree | 53d6ea6851e2a2d14d23f20ddbaa993cd9312065 /test/compilationTests/zeppelin/lifecycle/Pausable.sol | |
parent | 503eb8caa53c1f6ef00cec1fee099b2457c304f4 (diff) | |
parent | 4e8883b63d26eb2bcfc5e1c18c8bab8236fff16b (diff) | |
download | dexon-solidity-b67dfa154cacbe173d2a54a85d73f8b9a03cc15f.tar dexon-solidity-b67dfa154cacbe173d2a54a85d73f8b9a03cc15f.tar.gz dexon-solidity-b67dfa154cacbe173d2a54a85d73f8b9a03cc15f.tar.bz2 dexon-solidity-b67dfa154cacbe173d2a54a85d73f8b9a03cc15f.tar.lz dexon-solidity-b67dfa154cacbe173d2a54a85d73f8b9a03cc15f.tar.xz dexon-solidity-b67dfa154cacbe173d2a54a85d73f8b9a03cc15f.tar.zst dexon-solidity-b67dfa154cacbe173d2a54a85d73f8b9a03cc15f.zip |
Merge pull request #4269 from ethereum/require-emit
[BREAKING] Remove non-0.5.0 warning for emit keyword (make it mandatory)
Diffstat (limited to 'test/compilationTests/zeppelin/lifecycle/Pausable.sol')
-rw-r--r-- | test/compilationTests/zeppelin/lifecycle/Pausable.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compilationTests/zeppelin/lifecycle/Pausable.sol b/test/compilationTests/zeppelin/lifecycle/Pausable.sol index b14f8767..10b0fcd8 100644 --- a/test/compilationTests/zeppelin/lifecycle/Pausable.sol +++ b/test/compilationTests/zeppelin/lifecycle/Pausable.sol @@ -36,7 +36,7 @@ contract Pausable is Ownable { */ function pause() onlyOwner whenNotPaused returns (bool) { paused = true; - Pause(); + emit Pause(); return true; } @@ -45,7 +45,7 @@ contract Pausable is Ownable { */ function unpause() onlyOwner whenPaused returns (bool) { paused = false; - Unpause(); + emit Unpause(); return true; } } |