Ver Fonte

remove create limitation

邓心一 há 7 anos atrás
pai
commit
b73b9df5b7
1 ficheiros alterados com 2 adições e 1 exclusões
  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);
     }
 }