Skip to content

Commit 3b88b97

Browse files
authored
Fix MarlinPC's CommitterKey to return the correct supported_degree (#78)
1 parent 9698a9b commit 3b88b97

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## Pending
2+
- MarlinPC's `supported_degree` fix.
23

34
### Breaking changes
45

src/marlin/marlin_pc/data_structures.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl<E: PairingEngine> PCCommitterKey for CommitterKey<E> {
8888
}
8989

9090
fn supported_degree(&self) -> usize {
91-
self.powers.len()
91+
self.powers.len() - 1
9292
}
9393
}
9494

0 commit comments

Comments
 (0)