Skip to content

Commit 06141a4

Browse files
committed
make execute via other member
1 parent aa3e26f commit 06141a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/nft-collections/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const collectionAndNewNFTExample = async () => {
161161
executeTx.add(computeIx);
162162
executeTx.add(executeIx);
163163
// sign & serialize and send
164-
executeTx.sign(walletKeypair);
164+
executeTx.sign(otherMembersBesidesWallet[0]);
165165
const txid = await squads.connection.sendRawTransaction(executeTx.serialize(), {skipPreflight: true, preflightCommitment: 'confirmed'});
166166
console.log("sent execute tx!", txid);
167167
console.log("finished, check the added nft mint at", newNftMint.toBase58());

0 commit comments

Comments
 (0)