Skip to content

Commit c00e319

Browse files
committed
fix(zk-id): use V2 state tree selector (get_random_state_tree_info) for credential creation
1 parent e2dd0c1 commit c00e319

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

zk/zk-id/tests/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ where
352352
};
353353

354354
let output_state_tree_index = rpc
355-
.get_random_state_tree_info_v1()?
355+
.get_random_state_tree_info()?
356356
.pack_output_tree_index(&mut remaining_accounts)?;
357357

358358
// Parse the issuer account data to get num_credentials_issued
@@ -474,7 +474,7 @@ where
474474
.address_trees;
475475

476476
let output_state_tree_index = rpc
477-
.get_random_state_tree_info_v1()?
477+
.get_random_state_tree_info()?
478478
.pack_output_tree_index(&mut remaining_accounts)?;
479479

480480
let (remaining_accounts_metas, system_accounts_offset, _) =

0 commit comments

Comments
 (0)