Slight tweaks to BP+

This commit is contained in:
Luke Parker
2024-04-21 21:51:44 -04:00
parent c73acb3d62
commit 558a2bfa46
4 changed files with 19 additions and 24 deletions

View File

@@ -91,7 +91,7 @@ impl Bulletproofs {
Bulletproofs::Plus(
AggregateRangeStatement::new(outputs.iter().map(|com| DfgPoint(com.calculate())).collect())
.unwrap()
.prove(rng, &Zeroizing::new(AggregateRangeWitness::new(outputs).unwrap()))
.prove(rng, &Zeroizing::new(AggregateRangeWitness::new(outputs.to_vec()).unwrap()))
.unwrap(),
)
})