mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-08-08 16:03:14 +00:00
refactor(lee): keep the authorization precondition match wildcard-free
This commit is contained in:
parent
d05035eb9e
commit
ca23f12f7a
Binary file not shown.
@ -67,7 +67,10 @@ pub fn compute_circuit_output(
|
||||
};
|
||||
|
||||
match (kind, nullifier) {
|
||||
(WitnessKind::Regular, _) => assert!(
|
||||
(
|
||||
WitnessKind::Regular,
|
||||
NullifierWitness::Init { .. } | NullifierWitness::Update { .. },
|
||||
) => assert!(
|
||||
pre_state.is_authorized,
|
||||
"Regular private account pre-state must be authorized"
|
||||
),
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user