Explorar o código

Merge branch 'solc-0.7' into release-v3.2.0-solc-0.7

Francisco Giordano %!s(int64=5) %!d(string=hai) anos
pai
achega
0d7bf01ac1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      contracts/token/ERC777/ERC777.sol

+ 1 - 1
contracts/token/ERC777/ERC777.sol

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