Fix function state mutability warning (#2327)

Changes state mutability of granularity function from view to pure.
pull/2396/head
soham 5 years ago committed by GitHub
parent 04fc35707d
commit 48072e439d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      contracts/token/ERC777/ERC777.sol

@ -113,7 +113,7 @@ contract ERC777 is Context, IERC777, IERC20 {
* *
* This implementation always returns `1`. * This implementation always returns `1`.
*/ */
function granularity() public view override returns (uint256) { function granularity() public pure override returns (uint256) {
return 1; return 1;
} }

Loading…
Cancel
Save