diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-07-05 20:32:32 +0800 |
---|---|---|
committer | Leonardo Alt <leo@ethereum.org> | 2018-07-12 18:53:49 +0800 |
commit | 3ebfcae8292da1d9f41ff20da1866c424404ee58 (patch) | |
tree | 0b6845c1598d81ed72ebe2b2d44272f6f51f284c /test/compilationTests/corion/module.sol | |
parent | c438b73f689b904152f4b8b636579317fb55e60a (diff) | |
download | dexon-solidity-3ebfcae8292da1d9f41ff20da1866c424404ee58.tar.gz dexon-solidity-3ebfcae8292da1d9f41ff20da1866c424404ee58.tar.zst dexon-solidity-3ebfcae8292da1d9f41ff20da1866c424404ee58.zip |
Update external tests and docs
Diffstat (limited to 'test/compilationTests/corion/module.sol')
-rw-r--r-- | test/compilationTests/corion/module.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compilationTests/corion/module.sol b/test/compilationTests/corion/module.sol index 62f44af7..e0084ea5 100644 --- a/test/compilationTests/corion/module.sol +++ b/test/compilationTests/corion/module.sol @@ -95,8 +95,8 @@ contract module { if ( _balance > 0 ) { require( abstractModuleHandler(moduleHandlerAddress).transfer(address(this), newModuleAddress, _balance, false) ); } - if ( this.balance > 0 ) { - require( newModuleAddress.send(this.balance) ); + if ( address(this).balance > 0 ) { + require( newModuleAddress.send(address(this).balance) ); } moduleStatus = status.Disconnected; } |