Skip to content

Commit ad9f667

Browse files
committed
Fix implementation re-initialization issue
1 parent 65eb66e commit ad9f667

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

contracts/SingleEditionMintable.sol

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ contract SingleEditionMintable is
6969
// Global constructor for factory
7070
constructor(SharedNFTLogic _sharedNFTLogic) {
7171
sharedNFTLogic = _sharedNFTLogic;
72+
73+
_disableInitializers();
7274
}
7375

7476
/**
@@ -137,7 +139,7 @@ contract SingleEditionMintable is
137139
}
138140

139141
/**
140-
@param _salePrice if sale price is 0 sale is stopped, otherwise that amount
142+
@param _salePrice if sale price is 0 sale is stopped, otherwise that amount
141143
of ETH is needed to start the sale.
142144
@dev This sets a simple ETH sales price
143145
Setting a sales price allows users to mint the edition until it sells out.
@@ -243,7 +245,7 @@ contract SingleEditionMintable is
243245

244246
/**
245247
@param tokenId Token ID to burn
246-
User burn function for token id
248+
User burn function for token id
247249
*/
248250
function burn(uint256 tokenId) public {
249251
require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved");

0 commit comments

Comments
 (0)