Skip to content

Commit

Permalink
fix: fixes mintPolicy.maxTokenCount in populateGenesis (#543)
Browse files Browse the repository at this point in the history
fix maxTokenCount in populateGenesis
  • Loading branch information
justraman authored Aug 7, 2023
1 parent 2ce746c commit 69c8c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/populateGenesis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async function syncCollection(ctx: CommonContext, block: SubstrateBlock) {
id: id.toString(),
owner,
mintPolicy: new MintPolicy({
maxTokenCount: data.tokenCount,
maxTokenCount: data.policy.mint.maxTokenCount,
maxTokenSupply: data.policy.mint.maxTokenSupply,
forceSingleMint: data.policy.mint.forceSingleMint,
}),
Expand Down

0 comments on commit 69c8c58

Please sign in to comment.