瀏覽代碼

fixed account in example

tonyboylehub 10 月之前
父節點
當前提交
818d6def75
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/core/execute-asset-signing.md

+ 1 - 1
src/pages/core/execute-asset-signing.md

@@ -207,7 +207,7 @@ const collection =
 // Asset ID that owns the Asset we wish to transfer.
 // Asset ID that owns the Asset we wish to transfer.
 const sourceAssetId = publickey('2222222222222222222222222222222222')
 const sourceAssetId = publickey('2222222222222222222222222222222222')
 // The source Asset object.
 // The source Asset object.
-const sourceAsset = fetchAsset(umi, assetId)
+const sourceAsset = fetchAsset(umi, sourceAssetId)
 // Asset signer has a balance of 1 SOL in the account.
 // Asset signer has a balance of 1 SOL in the account.
 const sourceAssetSignerPda = findAssetSignerPda(umi, { asset: assetId })
 const sourceAssetSignerPda = findAssetSignerPda(umi, { asset: assetId })