Unverified Commit 48072e43 by soham Committed by GitHub

Fix function state mutability warning (#2327)

Changes state mutability of granularity function from view to pure.
parent 04fc3570
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment