Kaynağa Gözat

remove create limitation

邓心一 7 yıl önce
ebeveyn
işleme
b73b9df5b7
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  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);
     }
 }