Skip to content

Commit

Permalink
Fix MarlinPC's CommitterKey to return the correct supported_degree (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
Will-Lin4 authored Apr 11, 2021
1 parent 9698a9b commit 3b88b97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## Pending
- MarlinPC's `supported_degree` fix.

### Breaking changes

Expand Down
2 changes: 1 addition & 1 deletion src/marlin/marlin_pc/data_structures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl<E: PairingEngine> PCCommitterKey for CommitterKey<E> {
}

fn supported_degree(&self) -> usize {
self.powers.len()
self.powers.len() - 1
}
}

Expand Down

0 comments on commit 3b88b97

Please sign in to comment.