We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a67ddd commit d8620feCopy full SHA for d8620fe
1 file changed
program-libs/compressed-account/src/instruction_data/zero_copy_set.rs
@@ -169,7 +169,7 @@ impl ZNewAddressParamsAssignedPackedMut<'_> {
169
) {
170
self.seed = seed;
171
self.address_merkle_tree_root_index = address_merkle_tree_root_index;
172
- self.address_queue_account_index = 0; // always 0 for v2 address trees.
+ self.address_queue_account_index = address_merkle_tree_account_index;
173
if let Some(assigned_account_index) = assigned_account_index {
174
self.assigned_account_index = assigned_account_index;
175
self.assigned_to_account = 1; // set to true
0 commit comments