mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-10 12:54:35 +00:00
Silence warning when building in release
This commit is contained in:
parent
a66994aade
commit
89a6ee9290
1 changed files with 2 additions and 0 deletions
|
@ -192,6 +192,8 @@ impl WipStatement {
|
|||
witness: WipWitness,
|
||||
) -> Option<WipProof> {
|
||||
let WipStatement { generators, P, mut y } = self;
|
||||
#[cfg(not(debug_assertions))]
|
||||
let _ = P;
|
||||
|
||||
if generators.len() != witness.a.len() {
|
||||
return None;
|
||||
|
|
Loading…
Reference in a new issue