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

@ -47,6 +47,7 @@ library ECRecovery {
if (v != 27 && v != 28) {
return (address(0));
} else {
// solium-disable-next-line arg-overflow
return ecrecover(hash, v, r, s);
}
}