瀏覽代碼

remove create limitation

邓心一 7 年之前
父節點
當前提交
b73b9df5b7
共有 1 個文件被更改,包括 2 次插入1 次删除
  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);
     }
 }