Skip to content

Commit 50b7325

Browse files
authored
Merge pull request #21 from niftykit-inc/jcurbelo/fix-max-wallet
remove max per wallet check
2 parents 32ae17b + de73d4c commit 50b7325

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/DropKit.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,6 @@ export default class DropKit {
275275
const presaleActive = await this.presaleActive()
276276
const saleActive = await this.saleActive()
277277

278-
const tokensCount = await this.walletTokensCount()
279-
const maxPerWallet = await this.maxPerWallet()
280-
281-
if (tokensCount + quantity > maxPerWallet) {
282-
throw new Error(
283-
`You can't mint more than ${maxPerWallet} tokens on your wallet`
284-
)
285-
}
286-
287278
if (!saleActive && !presaleActive) {
288279
throw new Error('Collection is not active')
289280
}

0 commit comments

Comments
 (0)