mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-08-24 22:29:22 +00:00
format fixes
This commit is contained in:
@@ -296,10 +296,12 @@ fn compute_circuit_output(
|
||||
nsk,
|
||||
);
|
||||
|
||||
let new_nonce = pre_state.account.nonce.private_account_nonce_increment(&nsk);
|
||||
let new_nonce = pre_state
|
||||
.account
|
||||
.nonce
|
||||
.private_account_nonce_increment(&nsk);
|
||||
|
||||
(new_nullifier, new_nonce)
|
||||
|
||||
} else {
|
||||
// Private account without authentication
|
||||
|
||||
@@ -355,9 +357,6 @@ fn compute_circuit_output(
|
||||
}
|
||||
}
|
||||
|
||||
//TODO delete
|
||||
//assert!(private_nonces_iter.next().is_none(), "Too many nonces");
|
||||
|
||||
assert!(
|
||||
private_keys_iter.next().is_none(),
|
||||
"Too many private account keys"
|
||||
|
||||
Reference in New Issue
Block a user