mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-03-18 18:03:07 +00:00
fixed tests
This commit is contained in:
parent
b44e066e84
commit
66d501e4d7
@ -215,7 +215,7 @@ mod tests {
|
||||
let expected_recipient_post = Account {
|
||||
program_owner: program.id(),
|
||||
balance: balance_to_move,
|
||||
nonce: Nonce::default().private_account_nonce_init(&recipient_keys.npk()),
|
||||
nonce: Nonce::private_account_nonce_init(&recipient_keys.npk()),
|
||||
data: Data::default(),
|
||||
};
|
||||
|
||||
@ -306,7 +306,7 @@ mod tests {
|
||||
let expected_private_account_2 = Account {
|
||||
program_owner: program.id(),
|
||||
balance: balance_to_move,
|
||||
nonce: Nonce::default().private_account_nonce_init(&recipient_keys.npk()),
|
||||
nonce: Nonce::private_account_nonce_init(&recipient_keys.npk()),
|
||||
..Default::default()
|
||||
};
|
||||
let expected_new_commitments = vec![
|
||||
|
||||
@ -1116,7 +1116,7 @@ pub mod tests {
|
||||
&recipient_keys.npk(),
|
||||
&Account {
|
||||
program_owner: Program::authenticated_transfer_program().id(),
|
||||
nonce: Nonce::default().private_account_nonce_init(&recipient_keys.npk()),
|
||||
nonce: Nonce::private_account_nonce_init(&recipient_keys.npk()),
|
||||
balance: balance_to_move,
|
||||
..Account::default()
|
||||
},
|
||||
|
||||
@ -327,7 +327,7 @@ fn compute_circuit_output(
|
||||
|
||||
let nullifier = Nullifier::for_account_initialization(npk);
|
||||
|
||||
let new_nonce = Nonce::default().private_account_nonce_init(npk);
|
||||
let new_nonce = Nonce::private_account_nonce_init(npk);
|
||||
|
||||
((nullifier, DUMMY_COMMITMENT_HASH), new_nonce)
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user