Skip to content

Commit

Permalink
Ignored Slither's events-math check in TokenGrant.stake
Browse files Browse the repository at this point in the history
This function is not yet implemented for real so we should not worry
about this check.
  • Loading branch information
pdyraga committed Jul 30, 2021
1 parent 0fb1b32 commit 5b977fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/grant/TokenGrant.sol
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ contract TokenGrant {
}

function stake(uint256 amountToStake) external onlyGrantee {
//slither-disable-next-line events-maths
staked += amountToStake;

// TODO: implement
Expand Down

0 comments on commit 5b977fb

Please sign in to comment.