Skip to content

Commit d8620fe

Browse files
committed
fix
1 parent 0a67ddd commit d8620fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

program-libs/compressed-account/src/instruction_data/zero_copy_set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ impl ZNewAddressParamsAssignedPackedMut<'_> {
169169
) {
170170
self.seed = seed;
171171
self.address_merkle_tree_root_index = address_merkle_tree_root_index;
172-
self.address_queue_account_index = 0; // always 0 for v2 address trees.
172+
self.address_queue_account_index = address_merkle_tree_account_index;
173173
if let Some(assigned_account_index) = assigned_account_index {
174174
self.assigned_account_index = assigned_account_index;
175175
self.assigned_to_account = 1; // set to true

0 commit comments

Comments
 (0)