Skip to content

Commit 34c8975

Browse files
committed
pack fix
1 parent 2a96888 commit 34c8975

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Assets/Thirdweb/Examples/Scripts/Prefabs/Prefab_Writing.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public async void OpenPack()
185185

186186
// NewPackInput newPackInput = new NewPackInput()
187187
// {
188-
// rewardsPerPack = "10",
188+
// rewardsPerPack = "1",
189189
// packMetadata = new NFTMetadata()
190190
// {
191191
// description = "Kitty Pack - Contains Kitty NFTs and Tokens!",
@@ -203,7 +203,7 @@ public async void OpenPack()
203203
// },
204204
// erc721Contents = new List<ERC721Contents>()
205205
// {
206-
// new ERC721Contents() { contractAddress = TOKEN_ERC721_CONTRACT, tokenId = "1", }
206+
// new ERC721Contents() { contractAddress = TOKEN_ERC721_CONTRACT, tokenId = "11", }
207207
// },
208208
// erc1155Contents = new List<ERC1155Contents>()
209209
// {
@@ -216,11 +216,11 @@ public async void OpenPack()
216216
// }
217217
// },
218218
// };
219-
// Make sure you approve tokens first
219+
// // Make sure you approve tokens first
220220
// var result = await pack.Create(newPackInput);
221221
// Debugger.Instance.Log("[Create Pack] Successful", result.ToString());
222222

223-
PackRewards rewards = await pack.Open("0");
223+
PackRewards rewards = await pack.Open("1");
224224
Debugger.Instance.Log("[Open Pack] Successful", rewards.ToString());
225225
}
226226
catch (System.Exception e)

0 commit comments

Comments
 (0)