Skip to content

Commit aa3e26f

Browse files
committed
fix(nft-collection): small commented fix
1 parent a060cc7 commit aa3e26f

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
@@ -22,10 +22,10 @@ const NFT_URI = 'https://raw.githubusercontent.com/Squads-Protocol/sdk-examples/
2222

2323
/*
2424
// for fewer potential issues, you should use a CLI wallet instead of a random keypair that's been airdropped to
25+
const homedir = os.homedir();
2526
let walletJSON = JSON.parse(fs.readFileSync(`${homedir}/.config/solana/id.json`, "utf-8"));
2627
const walletKeypair = Keypair.fromSecretKey(Uint8Array.from(walletJSON));
2728
const squads = Squads.endpoint(YOUR_RPC_NODE, new Wallet(walletKeypair));
28-
const homedir = os.homedir();
2929
*/
3030

3131
// if using this random keypair for the test, be sure to airdrop to it using the airdrop function in this repo

0 commit comments

Comments
 (0)