fix: solium errors - function-order only

This commit is contained in:
Matt Condon
2018-01-15 15:52:50 -05:00
parent e60aee61f2
commit bd2f1773cd
8 changed files with 90 additions and 91 deletions

View File

@ -12,8 +12,8 @@ contract ReentrancyMock is ReentrancyGuard {
counter = 0;
}
function count() private {
counter += 1;
function callback() external nonReentrant {
count();
}
function countLocalRecursive(uint256 n) public nonReentrant {
@ -38,8 +38,8 @@ contract ReentrancyMock is ReentrancyGuard {
attacker.callSender(func);
}
function callback() external nonReentrant {
count();
function count() private {
counter += 1;
}
}