Skip to content

Commit 5033efd

Browse files
Merge pull request #28 from metaplex-foundation/create/payer-fix
Fix Payer Arg for initial Candy Machine account creation.
2 parents fba8184 + e7c635b commit 5033efd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

clients/js/src/createCandyMachine.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export const createCandyMachine = async (
5454
return transactionBuilder()
5555
.add(
5656
createAccount(context, {
57+
payer: newInput.payer ?? context.payer,
5758
newAccount: newInput.candyMachine,
5859
lamports,
5960
space,

0 commit comments

Comments
 (0)