Use edition number in data (#171)
This call is not used anywhere yet, but it might be in the future...
This commit is contained in:
parent
7a01f3c650
commit
877e53c1b8
|
@ -807,7 +807,7 @@ export async function mintNewEditionFromMasterEditionViaToken(
|
|||
const masterEdition = await getEdition(tokenMint);
|
||||
const editionMarkPda = await getEditionMarkPda(tokenMint, edition);
|
||||
|
||||
const data = Buffer.from([11]);
|
||||
const data = Buffer.from([11, ...edition.toArray('le', 8)]);
|
||||
|
||||
const keys = [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue