Skip to content

Commit

Permalink
Remove asserts to be in line with other code
Browse files Browse the repository at this point in the history
  • Loading branch information
vicsn committed Oct 22, 2023
1 parent 69215ff commit b167726
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions synthesizer/process/src/stack/registers/caller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ impl<N: Network, A: circuit::Aleo<Network = N>> RegistersSigner<N> for Registers
/// Sets the transition signer.
#[inline]
fn set_root_tcm(&mut self, root_tcm: Field<N>) {
assert!(self.root_tcm.is_none()); // TODO: return an error, or just skip
self.root_tcm = Some(root_tcm);
}

Expand Down Expand Up @@ -87,7 +86,6 @@ impl<N: Network, A: circuit::Aleo<Network = N>> RegistersSignerCircuit<N, A> for
/// Sets the root transition commitment, as a circuit.
#[inline]
fn set_root_tcm_circuit(&mut self, root_tcm_circuit: circuit::Field<A>) {
assert!(self.root_tcm_circuit.is_none()); // TODO: return an error, or just skip
self.root_tcm_circuit = Some(root_tcm_circuit);
}

Expand Down

0 comments on commit b167726

Please sign in to comment.