瀏覽代碼

update: add missing paren

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Aniket Teredesai 6 月之前
父節點
當前提交
68d01fafd7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/guides/javascript/how-to-create-a-solana-token.md

+ 1 - 1
src/pages/guides/javascript/how-to-create-a-solana-token.md

@@ -125,7 +125,7 @@ const umi = createUmi("https://devnet-aura.metaplex.com/<YOUR_API_KEY>")
 const walletFile = fs.readFileSync('./keypair.json', {encoding: "utf-8"})
 
 // Convert your walletFile onto a keypair.
-let keypair = umi.eddsa.createKeypairFromSecretKey(new Uint8Array(JSON.parse(walletFile));
+let keypair = umi.eddsa.createKeypairFromSecretKey(new Uint8Array(JSON.parse(walletFile)));
 
 // Load the keypair into umi.
 umi.use(keypairIdentity(umiSigner));