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/gnosis/Events/ScalarEvent.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/gnosis/Events/ScalarEvent.sol')
-rw-r--r-- | test/compilationTests/gnosis/Events/ScalarEvent.sol | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/gnosis/Events/ScalarEvent.sol b/test/compilationTests/gnosis/Events/ScalarEvent.sol index 3120090c..4f268a38 100644 --- a/test/compilationTests/gnosis/Events/ScalarEvent.sol +++ b/test/compilationTests/gnosis/Events/ScalarEvent.sol @@ -72,7 +72,7 @@ contract ScalarEvent is Event { outcomeTokens[LONG].revoke(msg.sender, longOutcomeTokenCount); // Payout winnings to sender require(collateralToken.transfer(msg.sender, winnings)); - WinningsRedemption(msg.sender, winnings); + emit WinningsRedemption(msg.sender, winnings); } /// @dev Calculates and returns event hash |