Various fixes and formatting chores (#885)

* fix: clean up solium linting errors

* fix: make various contracts natspec compliant

* fix: this.balance deprecated; convert to address(this).balance

* fix: contract.call deprecated and switch to gasleft()

* fix: ignore empty block rule project-wide

* fix: add ignore cases for the rest of the linting warnings
This commit is contained in:
Matt Condon
2018-04-10 20:31:29 -03:00
committed by GitHub
parent a7e91856f3
commit 9e1c934ffd
26 changed files with 248 additions and 208 deletions

View File

@ -15,6 +15,7 @@ contract MessageHelper {
}
function call(address to, bytes data) public returns (bool) {
// solium-disable-next-line security/no-low-level-calls
if (to.call(data))
return true;
else