Skip to content

Commit

Permalink
add creator verified to hash (metaplex-foundation#967)
Browse files Browse the repository at this point in the history
  • Loading branch information
austbot authored Jan 23, 2023
1 parent f5a94fa commit 8eca81a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bubblegum/js/src/mpl-bubblegum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function computeCreatorHash(creators: Creator[]): Buffer {
creator.address.toBuffer(),
Buffer.from([creator.share]),
]);
bufferOfCreatorShares = Buffer.concat([bufferOfCreatorShares, Buffer.from([creator.share])]);
bufferOfCreatorShares = Buffer.concat([bufferOfCreatorShares, Buffer.from([creator.verified ? 1 : 0]), Buffer.from([creator.share])]);
}
return Buffer.from(keccak_256.digest(bufferOfCreatorData));
}
Expand Down

0 comments on commit 8eca81a

Please sign in to comment.