Skip to content

Commit

Permalink
chore: remove FunctionInput::dummy (#4723)
Browse files Browse the repository at this point in the history
# Description

## Problem\*

Resolves <!-- Link to GitHub Issue -->

## Summary\*

This function is unused.

## Additional Context



## Documentation\*

Check one:
- [x] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[For Experimental Features]** Documentation to be submitted in a
separate PR.

# PR Checklist\*

- [x] I have tested the changes locally.
- [x] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
  • Loading branch information
TomAFrench authored Apr 5, 2024
1 parent 0dac093 commit ff0b5bc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions acvm-repo/acir/src/circuit/opcodes/black_box_function_call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ pub struct FunctionInput {
pub num_bits: u32,
}

impl FunctionInput {
pub fn dummy() -> Self {
Self { witness: Witness(0), num_bits: 0 }
}
}

#[derive(Clone, PartialEq, Eq, Serialize, Deserialize)]
pub enum BlackBoxFuncCall {
AND {
Expand Down

0 comments on commit ff0b5bc

Please sign in to comment.