Fix function state mutability warning (#2327)

Changes state mutability of granularity function from view to pure.
This commit is contained in:
soham
2020-08-13 00:36:21 +05:30
committed by GitHub
parent 04fc35707d
commit 48072e439d

View File

@ -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;
}