mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-05-12 20:59:32 +00:00
fix: nightly fmt
This commit is contained in:
parent
93c6921eaf
commit
8da04ac898
@ -873,8 +873,8 @@ mod tests {
|
||||
let seed = PdaSeed::new([2; 32]);
|
||||
let npk = NullifierPublicKey([3; 32]);
|
||||
let expected = AccountId::new([
|
||||
132, 198, 103, 173, 244, 211, 188, 217, 249, 99, 126, 205, 152, 120, 192, 47, 13,
|
||||
53, 133, 3, 17, 69, 92, 243, 140, 94, 182, 211, 218, 75, 215, 45,
|
||||
132, 198, 103, 173, 244, 211, 188, 217, 249, 99, 126, 205, 152, 120, 192, 47, 13, 53,
|
||||
133, 3, 17, 69, 92, 243, 140, 94, 182, 211, 218, 75, 215, 45,
|
||||
]);
|
||||
assert_eq!(private_pda_account_id(&program_id, &seed, &npk), expected);
|
||||
}
|
||||
|
||||
@ -2411,7 +2411,8 @@ pub mod tests {
|
||||
}
|
||||
|
||||
/// A program must not be allowed to claim a mask-0 (public) account via `Claim::PrivatePda`.
|
||||
/// The circuit panics in `validate_and_sync_states` when the visibility and claim kind disagree.
|
||||
/// The circuit panics in `validate_and_sync_states` when the visibility and claim kind
|
||||
/// disagree.
|
||||
#[test]
|
||||
fn mask_0_cannot_be_claimed_as_private_pda_panics() {
|
||||
let program = Program::private_pda_claimer();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user