Skip to content

Commit

Permalink
make execute via other member
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyar committed Jun 15, 2023
1 parent aa3e26f commit 06141a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nft-collections/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const collectionAndNewNFTExample = async () => {
executeTx.add(computeIx);
executeTx.add(executeIx);
// sign & serialize and send
executeTx.sign(walletKeypair);
executeTx.sign(otherMembersBesidesWallet[0]);
const txid = await squads.connection.sendRawTransaction(executeTx.serialize(), {skipPreflight: true, preflightCommitment: 'confirmed'});
console.log("sent execute tx!", txid);
console.log("finished, check the added nft mint at", newNftMint.toBase58());
Expand Down

0 comments on commit 06141a4

Please sign in to comment.