diff options
author | Christian Parpart <christian@ethereum.org> | 2018-06-21 19:58:38 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-06-21 20:14:16 +0800 |
commit | 6de24b1c5e031dd6bda5de7d5fb1161363443693 (patch) | |
tree | ead5fe7b3a5b1c2c282fa8123fe516ce00095c72 /test/compilationTests/corion/module.sol | |
parent | 3e9b4383cc42d6bdf09796e52b8816515618e676 (diff) | |
download | dexon-solidity-6de24b1c5e031dd6bda5de7d5fb1161363443693.tar.gz dexon-solidity-6de24b1c5e031dd6bda5de7d5fb1161363443693.tar.zst dexon-solidity-6de24b1c5e031dd6bda5de7d5fb1161363443693.zip |
test: drop var-keyword in compilationTests in favor of explicit types
Diffstat (limited to 'test/compilationTests/corion/module.sol')
-rw-r--r-- | test/compilationTests/corion/module.sol | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/corion/module.sol b/test/compilationTests/corion/module.sol index d64044cb..51fb8231 100644 --- a/test/compilationTests/corion/module.sol +++ b/test/compilationTests/corion/module.sol @@ -90,7 +90,7 @@ contract module { @newModuleAddress New module handler address */ require( moduleStatus != status.New && moduleStatus != status.Disconnected); - var (_success, _balance) = abstractModuleHandler(moduleHandlerAddress).balanceOf(address(this)); + (bool _success, uint256 _balance) = abstractModuleHandler(moduleHandlerAddress).balanceOf(address(this)); require( _success ); if ( _balance > 0 ) { require( abstractModuleHandler(moduleHandlerAddress).transfer(address(this), newModuleAddress, _balance, false) ); |