Explorar el Código

remove create limitation

邓心一 hace 7 años
padre
commit
b73b9df5b7
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      contracts/ShowFactory.sol

+ 2 - 1
contracts/ShowFactory.sol

@@ -29,7 +29,8 @@ contract ShowFactory is Ownable {
     }
 
     function createFirstShow(string name, bytes dance, bytes music) public {
-        require(ownerShowCount[msg.sender] == 0); // The 1st show is free
+        // require(ownerShowCount[msg.sender] == 0); // The 1st show is free
+        // TODO: complete the logic of creation
         _createShow(name, dance, music);
     }
 }