Skip to content

Commit

Permalink
Merge pull request #606 from yuhengfdada/yuhengfdada-patch-1
Browse files Browse the repository at this point in the history
Fix Compilation Error Due to Missing Constructor Arguments in DutchAuction.sol & Fix Typo
  • Loading branch information
AmazingAng authored Dec 19, 2023
2 parents 66b785d + 52b96cf commit 787ca14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 35_DutchAuction/DutchAuction.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ contract DutchAuction is Ownable, ERC721 {
uint256[] private _allTokens; // 记录所有存在的tokenId

//设定拍卖起始时间:我们在构造函数中会声明当前区块时间为起始时间,项目方也可以通过`setAuctionStartTime(uint32)`函数来调整
constructor() ERC721("WTF Dutch Auctoin", "WTF Dutch Auctoin") {
constructor() Ownable(msg.sender) ERC721("WTF Dutch Auction", "WTF Dutch Auction") {
auctionStartTime = block.timestamp;
}

Expand Down

0 comments on commit 787ca14

Please sign in to comment.