aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/corion/schelling.sol
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-09-12 22:21:43 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-09-12 22:21:43 +0800
commit879251a78b2d4e26dc71299d2d7ca989d0855d61 (patch)
treefedf7b035e527103f178f9670bce4cbbc81d283d /test/compilationTests/corion/schelling.sol
parent1994b51ef3eb8de3617efec9747979c9fb5ed453 (diff)
downloaddexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar.gz
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar.bz2
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar.lz
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar.xz
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.tar.zst
dexon-solidity-879251a78b2d4e26dc71299d2d7ca989d0855d61.zip
Update test suite to use address payable.
Diffstat (limited to 'test/compilationTests/corion/schelling.sol')
-rw-r--r--test/compilationTests/corion/schelling.sol6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/compilationTests/corion/schelling.sol b/test/compilationTests/corion/schelling.sol
index e9288332..2a327ba0 100644
--- a/test/compilationTests/corion/schelling.sol
+++ b/test/compilationTests/corion/schelling.sol
@@ -133,13 +133,13 @@ contract schelling is module, announcementTypes, schellingVars {
/*
module callbacks
*/
- function replaceModule(address addr) external returns (bool) {
+ function replaceModule(address payable addr) external returns (bool) {
require( super.isModuleHandler(msg.sender) );
require( db.replaceOwner(addr) );
super._replaceModule(addr);
return true;
}
- function transferEvent(address from, address to, uint256 value) external returns (bool) {
+ function transferEvent(address payable from, address payable to, uint256 value) external returns (bool) {
/*
Transaction completed. This function can be called only by the ModuleHandler.
If this contract is the receiver, the amount will be added to the prize pool of the current round.
@@ -247,7 +247,7 @@ contract schelling is module, announcementTypes, schellingVars {
bytes1 public belowChar = 0x30;
schellingDB private db;
- constructor(address _moduleHandler, address _db, bool _forReplace) public {
+ constructor(address payable _moduleHandler, address _db, bool _forReplace) public {
/*
Installation function.