aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/gnosis/Events
diff options
context:
space:
mode:
Diffstat (limited to 'test/compilationTests/gnosis/Events')
-rw-r--r--test/compilationTests/gnosis/Events/Event.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/gnosis/Events/Event.sol b/test/compilationTests/gnosis/Events/Event.sol
index 5b1a550c..0a40cf7e 100644
--- a/test/compilationTests/gnosis/Events/Event.sol
+++ b/test/compilationTests/gnosis/Events/Event.sol
@@ -54,7 +54,7 @@ contract Event {
public
{
// Transfer collateral tokens to events contract
- require(collateralToken.transferFrom(msg.sender, this, collateralTokenCount));
+ require(collateralToken.transferFrom(msg.sender, address(this), collateralTokenCount));
// Issue new outcome tokens to sender
for (uint8 i = 0; i < outcomeTokens.length; i++)
outcomeTokens[i].issue(msg.sender, collateralTokenCount);