Skip to content

Commit

Permalink
fixed else lock assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
ananas-block committed Mar 24, 2022
1 parent 083c7a7 commit b850654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/src/poseidon_merkle_tree/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ impl<'a, 'b> MerkleTreeProcessor<'a, 'b> {
return Err(ProgramError::InvalidInstructionData);
} else {
merkle_tree_pda_data.time_locked = <Clock as Sysvar>::get()?.slot;
merkle_tree_pda_data.pubkey_locked = signer.key.to_bytes().to_vec();
merkle_tree_pda_data.pubkey_locked = _tmp_storage_pda.key.to_bytes().to_vec();
}

merkle_tree_pubkey_check(
Expand Down

0 comments on commit b850654

Please sign in to comment.