Skip to content

Commit

Permalink
Fix function state mutability warning
Browse files Browse the repository at this point in the history
Changes state mutability of granularity function from view to pure.
  • Loading branch information
zemse committed Aug 12, 2020
1 parent 9700e6b commit 9620f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/token/ERC777/ERC777.sol
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ contract ERC777 is Context, IERC777, IERC20 {
*
* This implementation always returns `1`.
*/
function granularity() public view override returns (uint256) {
function granularity() public pure override returns (uint256) {
return 1;
}

Expand Down

0 comments on commit 9620f6b

Please sign in to comment.