Parcourir la source

remove create limitation

邓心一 il y a 7 ans
Parent
commit
b73b9df5b7
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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);
     }
 }